This commit is contained in:
Hans Pagel
2021-01-22 23:52:43 +01:00
parent 64ba3fd212
commit 790524d5cb
2 changed files with 3 additions and 5 deletions

View File

@@ -18,7 +18,6 @@ import {
toggleHeaderCell,
setCellAttr,
fixTables,
CellSelection,
} from 'prosemirror-tables'
import { TextSelection } from 'prosemirror-state'
import { createTable } from './utilities/createTable'
@@ -100,7 +99,6 @@ export const Table = Node.create({
return deleteTable(state, dispatch)
},
mergeCells: (): Command => ({ state, dispatch }) => {
console.log('mergeCells', { state }, state.selection instanceof CellSelection)
return mergeCells(state, dispatch)
},
splitCell: (): Command => ({ state, dispatch }) => {