diff --git a/packages/tiptap-extensions/src/nodes/Table.js b/packages/tiptap-extensions/src/nodes/Table.js index a209c61a9..9289010dd 100644 --- a/packages/tiptap-extensions/src/nodes/Table.js +++ b/packages/tiptap-extensions/src/nodes/Table.js @@ -23,16 +23,16 @@ import TableNodes from './TableNodes' export default class Table extends Node { + get name() { + return 'table' + } + get defaultOptions() { return { resizable: true, } } - get name() { - return 'table' - } - get schema() { return TableNodes.table }