prosemirror-view
Advanced tools
Changelog
1.32.5 (2023-12-04)
Fix a bug in DecorationSet.map
that, in specific cases when mapping through groups of changes, move decorations to the wrong position.
Changelog
1.32.4 (2023-11-08)
Fix a case where a DOM change involving astal characters could create odd steps that started and ended in the middle of UTF16 surrogate pairs.
Dragging a draggable node will no longer implicitly select it.
Changelog
1.32.3 (2023-11-01)
Fix a bug where, in some situations, pasting plain text pasted HTML markup.
Changelog
1.32.2 (2023-10-27)
Check for text/uri-list data on the clipboard or in the drop event when pasting or dropping content, since some types of copying on Apple devices use this format.
Changelog
1.32.1 (2023-10-13)
Work around a Chrome issue where it didn't draw a selection for inline leaf nodes when selecting across them.
Override the native behavior when shift-selecting horizontally across non-text inline nodes, since most browsers behave poorly here.
Changelog
1.32.0 (2023-09-27)
Work around an issue on Chrome where, when clicking above the right side of an uneditable node, the cursor would be put after the node.
Fix a bug that could corrupt the composition when it occurs next to text identical to the composed characters.
The new EditorView.updateRoot
method can be used to make the editor update its DOM root when it is moved to a new document or shadow tree.
Changelog
1.31.8 (2023-09-12)
Fix a bug that broke arrow motion near uneditable nodes on Chrome in some situations.
Fix an issue that broke backspace at the end of a textblock that ended in a newline on Chrome.
Fix a crash in the way inline decorations that ended right after a node end position were drawn.
Changelog
1.31.7 (2023-07-28)
Fix a bug where, when a compositionend event was received before the composition's final changes were processed, the resulting transaction didn't have its composition metadata set.
Fix an issue that caused cursor motion to stop at uneditable nodes that aren't widget decorations.
When scrolling an element higher than the viewport into view, make sure its top is visible.
Changelog
1.31.6 (2023-07-14)
Fix a bug that caused posAtCoords
to return incorrect results for coordinates over inline-decorated text.
Don't try to scroll fixed-positioned elements into view by scrolling their parent elements.
Changelog
1.31.5 (2023-06-19)
Fix a bug where the editor accidentally blocked shift-delete when the whole document is selected.
Bring back workaround for an issue where Firefox draws the cursor in the wrong place in a code block.
Fix an issue where Shift-Insert pastes pasted plain text (because Shift was being held).
Fix an issue where selecting across paragraph and starting a composition would update the state as if Enter was pressed and disrupt the composition.