prosemirror-view
Advanced tools
Changelog
1.23.4 (2021-12-22)
Improve the way the editor handles the mess of events produced when pressing Enter before a word that was just typed on Chrome + GBoard.
Fix an issue where compositions right before another instance of the composed text could cause the editor to crash.
Fix an issue where, if decorations changed during a pointer drag selection, the selection anchor might move around inappropriately.
Changelog
1.23.3 (2021-11-26)
The clipboard parser will no longer drop trailing <br>
nodes that appear in an inline parent element.
Changelog
1.23.2 (2021-11-19)
Avoid some unnecessary node redraws when marks are present in sibling nodes.
Changelog
1.23.1 (2021-11-15)
Restore accidentally reduced lookahead distance in view updating algorithm.
Changelog
1.23.0 (2021-11-11)
When parsing clipboard content, ignore trailing BR nodes that look like they might be there as a contenteditable kludge.
EditorView
now exposes an isDestroyed
property that can be used to test if the view has been destroyed.
Changelog
1.22.0 (2021-11-08)
Fix an issue where some types of node decoration changes could cause an unnecessary cascade of node redraws.
Widget decorations now accept a destroy
option, which will be called when the widget is removed from the view.
Changelog
1.21.0 (2021-10-29)
Fix issue where recent Mobile Safari versions weren't treated as Mac platforms.
Multiple style
properties provided through the attributes
prop are now merged. Adjust mac detection for recent changes to navigator.platform on iOS
Changelog
1.20.3 (2021-10-13)
Stop removing leading/trailing whitespace from pasted plain text.
Fix an issue that could cause invalid content to be produced when pasting HTML with isolating nodes in it.
Changelog
1.20.2 (2021-10-07)
Fix a crash when pasting whitespace-only content as text.
Changelog
1.20.1 (2021-09-09)
The library accidentally allowed node decorations on text nodes. It no longer does.
Fix an issue on Chrome and Safari where coordinates for positions between uneditable nodes and the end of a textblock would return zero-height rectangles.
Fix a bug where vertical endOfTextblock
queries could inappropriately return true when a small line height is used.