fix table commands type error

This commit is contained in:
Philipinho
2024-07-22 15:43:43 +01:00
parent 373fc86e47
commit 2df7de5828
6 changed files with 12 additions and 19 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { Editor, findParentNode, isTextSelection } from "@tiptap/core";
import { Selection, Transaction } from "@tiptap/pm/state";
import { CellSelection, TableMap } from "@tiptap/pm/tables";
import { Node, ResolvedPos } from "@tiptap/pm/model";
import { Table } from "./table/table-extension";
import Table from "@tiptap/extension-table";
export const isRectSelected = (rect: any) => (selection: CellSelection) => {
const map = TableMap.get(selection.$anchorCell.node(-1));