@codemirror/history
Advanced tools
Changelog
0.19.2 (2022-01-03)
Redoing a change now puts the cursor right after the change, regardless of where the selection was when the change was undone.
Changelog
0.19.1 (2021-12-28)
Scroll the selection into view after undoing or redoing. Only combine typing and deletion events into a single history event
Avoid combining most types of transactions into a single history event, except for typing and deleting.
Changelog
0.19.0 (2021-08-11)
Transactions generated by the history are now tagged with a user event string.
Changelog
0.18.1 (2021-03-23)
The state field used by the history is now public, and has toJSON
and fromJSON
functions for serialization.
Changelog
0.17.2 (2021-01-19)
Fix a bug where the history could get corrupted when the document length was reduced to zero. Fix another bad use of changes.length