Skip to content

Commit

Permalink
Fix 216972 (#1957)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiuqingSong authored Jul 17, 2023
1 parent 312ee72 commit 12b9cee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export default class TableEditor {
this.editor.select(this.start, this.end);
}

this.editor.addUndoSnapshot(undefined /*callback*/, ChangeSource.Format);
this.editor.addUndoSnapshot(() => {}, ChangeSource.Format); // Pass in an empty callback to make sure ContentChangedEvent is triggered
this.onChanged();
this.isCurrentlyEditing = false;

Expand Down

0 comments on commit 12b9cee

Please sign in to comment.