prosemirror-view
Advanced tools
Changelog
1.6.6 (2018-11-15)
Work around a Chrome bug where programmatic changes near the cursor sometimes cause the visible and reported selection to disagree.
Changing the nodeView
prop will no longer leave outdated node views in the DOM.
Work around an issue where Chrome unfocuses the editor or scrolls way down when pressing down arrow with the cursor between the start of a textblock and an uneditable element.
Fix a bug where mapping decoration sets through changes that changed the structure of decorated subtrees sometimes produced corrupted output.
Changelog
1.6.5 (2018-10-29)
Work around Safari issue where deleting the last bit of text in a table cell creates weird HTML with a BR in a table row.
Changelog
1.6.4 (2018-10-19)
Fix pasting when both text and files are present on the clipboard.
Changelog
1.6.3 (2018-10-12)
The editor will no longer try to handle file paste events with the old-browser compatibility kludge (which might cause scrolling and focus flickering).
Changelog
1.6.2 (2018-10-08)
Fixes an issue where event handlers were leaked when destroying an editor
Changelog
1.6.1 (2018-10-01)
Fixes situation where a vertical endOfTextblock
query could get confused by nearby widgets or complex parent node representation.
Changelog
1.6.0 (2018-09-27)
Fixes a corner case in which DecorationSet.map would map decorations to incorrect new positions.
When the editor contains scrollable elements, scrolling the cursor into view also scrolls those.
The scrollMargin
and scrollThreshold
props may now hold {left, right, top, bottom}
objects to set different margins and thresholds for different sides. Make scrolling from a given start node more robust
Changelog
1.5.3 (2018-09-24)
The cursor is now scrolled into view after keyboard driven selection changes even when they were handled by the browser.
Changelog
1.5.2 (2018-09-07)
Improves selection management around widgets with no actual HTML content (possibly drawn using CSS pseudo elements).
Fix extra whitespace in pasted HTML caused by previously-collapsed spacing.
Slow triple-clicks are no longer treated as two double-clicks in a row.