Always supply an array to node.mark() #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-null-marks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This branch fixes a bug where non-marked nodes would needlessly cause a node to be re-created, because
node.marksAcross()can return null (butnode.mark()expects an array of marks).That makes sense, thanks for the patch. Merged as
3489bbe67and released as prosemirror-state 1.0.2Pull request closed