You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I've added 2 buttons in the toolbar for undo and redo. So it acts the same as ctrl+z and ctrl+shift+z in mac.
But not clear how to add functionality for undo and redo in the execute property.
What I need is to call a function that changes the state of the EditorContext without invoking the keyboard shortcuts
The text was updated successfully, but these errors were encountered:
I added undo/redo functionality by document.execCommand('undo', false, null).
Even though execCommand is deprecated there's no other alternative at this moment.
Hi.
I've added 2 buttons in the toolbar for undo and redo. So it acts the same as ctrl+z and ctrl+shift+z in mac.
But not clear how to add functionality for undo and redo in the execute property.
What I need is to call a function that changes the state of the EditorContext without invoking the keyboard shortcuts
The text was updated successfully, but these errors were encountered: