diff options
Diffstat (limited to 'src/EditorFactory.js')
-rw-r--r-- | src/EditorFactory.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/EditorFactory.js b/src/EditorFactory.js index ee31c96bf..ec681c489 100644 --- a/src/EditorFactory.js +++ b/src/EditorFactory.js @@ -32,6 +32,12 @@ import ListItem from '@tiptap/extension-list-item' import CodeBlock from '@tiptap/extension-code-block' import CodeBlockLowlight from '@tiptap/extension-code-block-lowlight' import HorizontalRule from '@tiptap/extension-horizontal-rule' +import Table from './nodes/Table' +import TableBody from './nodes/TableBody' +import TableCell from './nodes/TableCell' +import TableHead from './nodes/TableHead' +import TableHeader from './nodes/TableHeader' +import TableRow from './nodes/TableRow' /* eslint-enable import/no-named-as-default */ import { Editor } from '@tiptap/core' @@ -88,6 +94,12 @@ const createEditor = ({ content, onCreate, onUpdate, extensions, enableRichEditi HorizontalRule, OrderedList, ListItem, + Table, + TableBody, + TableCell, + TableHead, + TableHeader, + TableRow, TaskList, TaskItem, Callout, |