fix: undo unique id (#8238)

This commit is contained in:
Vipin Chaudhary 2025-12-04 14:45:43 +05:30 committed by GitHub
parent 22da26742c
commit 739b1bfb75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
},