diff --git a/packages/lexical-table/src/LexicalTableSelectionHelpers.ts b/packages/lexical-table/src/LexicalTableSelectionHelpers.ts index 2d268917e60..dd9e9834f8c 100644 --- a/packages/lexical-table/src/LexicalTableSelectionHelpers.ts +++ b/packages/lexical-table/src/LexicalTableSelectionHelpers.ts @@ -6,6 +6,7 @@ * */ +import type {TableCellNode} from './LexicalTableCellNode'; import type {TableNode} from './LexicalTableNode'; import type {Cell, Cells, Grid} from './LexicalTableSelection'; import type { @@ -18,7 +19,6 @@ import type { TextFormatType, } from 'lexical'; -import {$isTableNode, TableCellNode} from '@lexical/table'; import {$findMatchingParent} from '@lexical/utils'; import { $createParagraphNode, @@ -50,6 +50,7 @@ import { import invariant from 'shared/invariant'; import {$isTableCellNode} from './LexicalTableCellNode'; +import {$isTableNode} from './LexicalTableNode'; import {TableSelection} from './LexicalTableSelection'; const LEXICAL_ELEMENT_KEY = '__lexicalTableSelection';