[X] I confirm to use the latest version of GrapesJS
What browser are you using?
Chrome v91
Reproducible demo link
--
Describe the bug
How to reproduce the bug?
I wanted to add an change to the undomanager stack .
var components = editor.Components; editor.UndoManager.add(components.getComponents().models);
What is the expected behavior?
The change added using um.add() should be added ..and when i press undo and redo this change should also be displayed.
What is the current behavior?
The change is not added.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
GrapesJS version
What browser are you using?
Chrome v91
Reproducible demo link
--
Describe the bug
How to reproduce the bug? I wanted to add an change to the undomanager stack .
var components = editor.Components; editor.UndoManager.add(components.getComponents().models);
What is the expected behavior? The change added using um.add() should be added ..and when i press undo and redo this change should also be displayed.
What is the current behavior? The change is not added.
Code of Conduct