From 20bcffc94a929c2473fbecd5352ea8280eee46da Mon Sep 17 00:00:00 2001 From: Chrissi2812 Date: Wed, 15 May 2019 09:52:09 +0200 Subject: [PATCH] change order of methods to match other extensions --- packages/tiptap-extensions/src/nodes/Table.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }