We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b78da27 commit 1db5c2aCopy full SHA for 1db5c2a
lib/table-element.js
@@ -1355,8 +1355,10 @@ class TableElement extends HTMLElement {
1355
this.editorElement.focus()
1356
this.editor.setText(this.columnUnderEdit.name != null ? this.columnUnderEdit.name : columnName(columnIndex))
1357
1358
- this.editor.getBuffer().history.clearUndoStack()
1359
- this.editor.getBuffer().history.clearRedoStack()
+ if (this.editor.getBuffer().history != undefined) {
+ this.editor.getBuffer().history.clearUndoStack()
1360
+ this.editor.getBuffer().history.clearRedoStack()
1361
+ }
1362
}
1363
1364
0 commit comments