Replies: 1 comment 1 reply
-
What sort of events do you mean? The undo shortcut is a cheat, the core knows history exists and just calls the undo/redo methods. (there's a bug at the moment where part of slate/packages/slate-react/src/components/editable.tsx Lines 886 to 894 in 623960a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering how should plugins subscribe to events?
I tried looking for an answer in
slate-history
's source code as it apparently handles Ctrl+Z shortcut, but I couldn't find out how it does that.Beta Was this translation helpful? Give feedback.
All reactions