My Question is
How to remove the last undoing from undoing stack?
I'm Doing something in CKEditor.And I'm using
editor.fire('lockSnapshot');
and
editor.fire('unlockSnapshot');
My Original HTML content is
After Change Something(put del/ins tag using MY CODE)
And I add something in the editor and doing undo it will change like this.
And this is my code.
editor.fire('lockSnapshot');
$(currentSpanNode).after('<ins class="ice-ins ice-cts">' + spanInnerText + '</ins>');
$(currentSpanNode).after('<del class="ice-del ice-cts">' + spanOuterHTML + '</del>');
$(currentSpanNode).remove();
editor.fire('unlockSnapshot');
'currentSpanNode' have a particular span Node.
I want to know..
Is there any possible way to Remove/Update Stack of undo?
If possible tell me the way.
Please, anyone get me out of this issue.