Skip to content

Commit 739b1bf

Browse files
authored
fix: undo unique id (#8238)
1 parent 22da267 commit 739b1bf

File tree

1 file changed

+2
-1
lines changed
  • packages/editor/src/core/extensions/unique-id

1 file changed

+2
-1
lines changed

packages/editor/src/core/extensions/unique-id/plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ export const createUniqueIDPlugin = (options: UniqueIDOptions) => {
9494
tr.setStoredMarks(newState.tr.storedMarks);
9595

9696
// Don't add ID generation to undo history
97-
tr.setMeta("addToHistory", false);
97+
// since its causing issue with undo feature we are commmeting it out for now
98+
// tr.setMeta("addToHistory", false);
9899

99100
return tr;
100101
},

0 commit comments

Comments
 (0)