Remove Last changes From Undo Manager Stack
Question
@artf Hello Can we remove the last event (changes) from undomanger. I need remove last event (change) from undo manger stack. I can get undo manager stack but could not modify it. Is there any way to set pointer of stack one or two step back or remove the last events from the stacks. There is a way like um.stop() and um.start() but I can not use that as I have no Idea that from where that event are added in stack of UndoManager.
Any help would be Appreciated, thanks in advance!
Answers (2)
The only way to move the pointer is to use undo/redo methods, so if you need to remove X steps you have to execute undo X times
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 #1469
Check canvas event
Hi @artf, Is there any common method where we can know something updated on canvas. We want to create a custom undo manager and also want t...
Issue #1318
Question: How to enable Event of mouse to increase value of input
hi @artf I want to know Is there any way to enable input mouse scroller in style manager as you can my screenshot. i want to initalize scro...
Issue #1639
[Question]: Would it be possible to have change settings under style manager in a way that it has href when a link is created?
I'm using preset newsletter with built-in RTE (do not want to use ck editor like the demo) In order to make any text to link, i need to cli...
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.