prosemirror-commands
Advanced tools
Changelog
0.19.0 (2017-03-16)
Calling joinBackward
at the start of a node that can't be joined no longer raises an error.
Changelog
0.18.0 (2017-02-24)
New command splitBlockKeepMarks
which splits a block but preserves the marks at the cursor.
Changelog
0.17.1 (2017-01-16)
Make sure toggleMark
also works in the top-level node (when it is a textblock).
Changelog
0.17.0 (2017-01-05)
The dispatch
function passed to commands is now passed a Transaction
, not an action object.
Changelog
0.15.0 (2016-12-10)
Drops suppport for delete(Char|Word)(Before|After)
and move(Back|For)ward
, since we are now letting the browser handle those natively.
The joinForward
and joinBackward
commands can now strip out markup and nodes that aren't allowed in the joined node.
A new command exitCode
allows a user to exit a code block by creating a new paragraph below it.
The joinForward
and joinBackward
commands now use a bidirectional-text-aware way to determine whether the cursor is at the proper side of its parent textblock when they are passed a view.
Changelog
0.12.0 (2016-10-21)
Fix crash when backspacing into nodes with complex content expressions.