From 739b1bfb757e8cea94628dd217e54f4e9c3f8f41 Mon Sep 17 00:00:00 2001 From: Vipin Chaudhary Date: Thu, 4 Dec 2025 14:45:43 +0530 Subject: [PATCH] fix: undo unique id (#8238) --- packages/editor/src/core/extensions/unique-id/plugin.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/editor/src/core/extensions/unique-id/plugin.ts b/packages/editor/src/core/extensions/unique-id/plugin.ts index 5b0773adb..c7f09860b 100644 --- a/packages/editor/src/core/extensions/unique-id/plugin.ts +++ b/packages/editor/src/core/extensions/unique-id/plugin.ts @@ -94,7 +94,8 @@ export const createUniqueIDPlugin = (options: UniqueIDOptions) => { tr.setStoredMarks(newState.tr.storedMarks); // Don't add ID generation to undo history - tr.setMeta("addToHistory", false); + // since its causing issue with undo feature we are commmeting it out for now + // tr.setMeta("addToHistory", false); return tr; },