We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 609e435 commit f99adddCopy full SHA for f99addd
src/muya/lib/contentState/tableSelectCellsCtrl.js
@@ -178,6 +178,7 @@ const tableSelectCellsCtrl = ContentState => {
178
const isWholeTableSelected = rows.size === +row + 1 && cells.length === (+row + 1) * (+column + 1)
179
180
if (isCut && isWholeTableSelected) {
181
+ this.selectedTableCells = null
182
return this.deleteParagraph(tableId)
183
}
184
@@ -189,6 +190,7 @@ const tableSelectCellsCtrl = ContentState => {
189
190
const cellKey = cells[0].key
191
const cellBlock = this.getBlock(cellKey)
192
const cellContentKey = cellBlock.children[0].key
193
194
if (isOneColumnSelected) {
195
// Remove one empty column
196
return this.editTable({
0 commit comments