It seems there were changes, now ProseMirror listens to beforeinput event and handles historyUndo and historyRedo which works well in Firefox and Chrome? But:
- It seems it does not work well in Safari (I have not tested this myself).
- Because of canceling default action of
historyUndo, redo menu option is never enabled. - It looks (at least in Firefox) that undo menu option is then always available, even if you get to the beginning of the undo stack.
Am I missing something?