prosemirror-history
Advanced tools
Changelog
1.4.1 (2024-07-10)
Fix an issue where mark steps could cause the history to treat otherwise adjacent changes as non-adjacent, and start superfluous new undo events.
Changelog
1.3.2 (2023-05-17)
Include CommonJS type declarations in the package to please new TypeScript resolution settings.
Changelog
1.3.1 (2023-04-26)
Fix an issue where, if a composition moved the selection, it might get split across multiple undo events.
Changelog
1.3.0 (2022-05-30)
Fix an issue where the default behavior of history beforeInput events could still go through when the undo history is empty.
Include TypeScript type declarations.
Changelog
1.2.0 (2021-08-18)
Fix a bug that caused the beforeInput
handler to not actually invoke the history commands properly.
The history plugin now listens for beforeInput
events with historyUndo
or historyRedo
type, and applies the undo/redo commands when they occur.
Changelog
1.1.3 (2019-12-10)
Fixes a regression where appeneded transactions were combined into the previous history event even if that had been explicitly closed.
Changelog
1.1.2 (2019-11-20)
Rename ES module files to use a .js extension, since Webpack gets confused by .mjs