fix: undo unique id (#8238)
This commit is contained in:
parent
22da26742c
commit
739b1bfb75
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue