Work on ProseMirror has been somewhat slow lately, because I was focused on other work, but there have been some useful patches, so I figured I’d cut another release. No (intentional) breaking changes whatsoever this time. Enjoy!
prosemirror-model 0.22.0 (2017-06-29)
parseSlice, inline DOM content wrapped in block elements for which no parse rule is defined will now be properly wrapped in a textblock node.
Parse rules now support a
namespace property to match XML namespaces.
prosemirror-transform 0.22.0 (2017-06-29)
canSplit now returns false when given custom after-split node types that don’t match the content at that point.
canLift incorrectly returning null when lifting into an isolating node.
prosemirror-view 0.22.0 (2017-06-29)
Fix an issue where moving the cursor through a text widget causes the editor to lose the selection in Chrome.
Fixes an issue where down-arrow in front of a widget would sometimes not cause any cursor motion on Chrome.
Display updates for regular, non-composition input are now synchronous, which should reduce flickering when, for example, updating decorations in response to typing.
The editor can now be initialized in a document other than the global document (say, an
Editor views now have a
domAtPos method, which gives you the DOM position corresponding to a given document position.
prosemirror-inputrules 0.22.0 (2017-06-29)
Input rules with spaces in them now match any whitespace where the space is expected, to avoid mysteriously not working when a non-breaking space is present.