forked from github/plane
38b7f4382f
* added basic table support * fixed table position at bottom * fixed image node deletion logic's regression issue * added compatible styles * enabled slash commands * disabled slash command and bubble menu's node selector for table cells * added dropcursor support to type below the table/image * blocked image uploads for handledrop and paste actions
10 lines
194 B
TypeScript
10 lines
194 B
TypeScript
import { Table as BaseTable } from "@tiptap/extension-table";
|
|
|
|
const Table = BaseTable.configure({
|
|
resizable: true,
|
|
cellMinWidth: 100,
|
|
allowTableNodeSelection: true
|
|
});
|
|
|
|
export { Table };
|