From 1a9b15d5346dbe2ab31c037ece534fc0abcc80d4 Mon Sep 17 00:00:00 2001 From: jiuqingsong Date: Mon, 17 Jul 2023 11:11:37 -0700 Subject: [PATCH] Fix 216972 --- .../lib/plugins/TableResize/editors/TableEditor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/roosterjs-editor-plugins/lib/plugins/TableResize/editors/TableEditor.ts b/packages/roosterjs-editor-plugins/lib/plugins/TableResize/editors/TableEditor.ts index 0b53439ddd2..e2650028815 100644 --- a/packages/roosterjs-editor-plugins/lib/plugins/TableResize/editors/TableEditor.ts +++ b/packages/roosterjs-editor-plugins/lib/plugins/TableResize/editors/TableEditor.ts @@ -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;