How does tinyMCE disable work?

One of my users is very upset with the cancel feature in tinyMCE. Instead of undoing the last minor change, it undoes many changes. Is this a temporary thing when a picture is taken every few seconds? Is this customizable?

Additional information . The user copies and pastes information from Word into the editor. Then cleanse the pile that the Word leaves. This includes removing excess empty lines between bullets, removing excess garbage that leaves the Insert From Word function, etc. What happens, she does oops and removes too much. So she hits and it will undo much more than the last oops. Make her do it all over again. The cancellation even completely deleted all the text that she inserted at the beginning (although this is not the last edit).

+5
source share
1 answer

. ( ), , (, , ,...). , .

. ( ):

// save undo step when space is pressed
ed.onKeyUp.add(function(ed, evt)
  if (evt.keyCode == 32) {
    ed.undoManager.add();
  }
});

undomanager tinymce api.

+5

All Articles