问题 Is there any way to remove specific stack value from UndoManager OR any function to pause/disable and start/enable UndoManager again. I want not to push specific data to UndoManager's stack . 回答1: It is not possible to simply not push deltas to the stack, since in that case undoing previous deltas won't be possible, you need to also transform the deltas around skipped delta. Say if you have a document "xyz" to which {insert, 2, "a"} is applied to obtain "xyaz" and then {insert, 1, "b"} to get