prosemirror-view
Advanced tools
Changelog
1.23.8 (2022-03-10)
Fix an issue where the editor needlessly interrupted composition with IME systems that keep the cursor at the start of the composition, such as some Pinyin input methods.
Changelog
1.23.7 (2022-02-25)
Fix a crash when a view was being destroyed during input reading.
Fix a crash on Firefox when replacing text in some specific types of document structure.
Changelog
1.23.6 (2022-01-13)
Fix an issue that could cause pieces of DOM to not be synchronized with the document after some kind of changes around marks.
Fix a bug where marks rendered with nested elements would in some situations suppress new input.
Disable Chrome-specific drag-selection workaround in non-Chrome browsers because it affected table cell selection in Safari.
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.