diff options
-rw-r--r-- | src/nodes/Table.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nodes/Table.js b/src/nodes/Table.js index 31c9e5b61..f2748d5f9 100644 --- a/src/nodes/Table.js +++ b/src/nodes/Table.js @@ -84,6 +84,7 @@ export default Table.extend({ return { ...this.parent(), insertTable: () => ({ tr, dispatch, editor }) => { + if (isInTable(tr)) return false const node = createTable(editor.schema, 3, 3, true) if (dispatch) { const offset = tr.selection.anchor + 1 |