How to create the custom undo manager
Question
Hi @artf,
How we can create the custom undo manager on button click.All the changes need to add in undo manager and then we can revert back to it. As we have implemented certain changes in different element due to that certain css is not working. Like when click on one button i have removed its class so when click on undo button that section class is not added/working. Can you please help for the same. Hope for positive response. Thank you
Answers (2)
There are no built-in methods to add custom undo manager, but you can definitely improve the integration with the default one by opening some PR
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1527
How to add countdown/navigation event in undo/redo
Hello @artf, How can we add any changes/events in undo/redo Manager like when we drag element like navigation or countdown. Hope for positi...
Issue #1509
How to disable undo button
Hi @artf, Hope you are doing well with grapesjs. Can you please let us know how to disable the undo button when no data present in undo man...
Issue #1720
[QUESTION] How to add the button in custom traits
Hi, I try to add a button to my custom traits for my custom blocks but its not working fine as expected and also need to know how to call t...
Issue #1836
How to add !important in all the generated apis
Hello @artf, While i am going to edit some html from editor with the help of css then i need to add !important into all the css which is ch...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.