Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: undo unique id (#8238)

Vipin Chaudhary739b1bfb757e
diff --git a/packages/editor/src/core/extensions/unique-id/plugin.ts b/packages/editor/src/core/extensions/unique-id/plugin.ts
index 5b0773adb3..c7f09860b5 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;
},