prosemirror-view
Advanced tools
Changelog
1.34.3 (2024-09-19)
Fix an issue that would, during some types of document updates, leave the document DOM in an improper form.
Handle the case where drag-selecting in Firefox creates a selection with multiple distinct ranges.
Changelog
1.34.2 (2024-09-03)
Fix pasting in Chrome with the require-trusted-types-for CSP enabled.
Fix an issue where, for some kinds of IME on Windows, pressing Enter while in a composition would execute the resulting command on the wrong selection, erasing some typed content.
Changelog
1.34.1 (2024-08-26)
Fix null dereferences caused by the behavior of Chrome's newly supported caretPositionFromPoint
method.
Fix an issue where on Android, with GBoard, enter presses in code blocks while a spell correction was selected didn't insert a new line.
Changelog
1.34.0 (2024-08-23)
The DecorationGroup
interface now has a forEachSet
method to iterate though the contained decoration sets.
Changelog
1.33.11 (2024-08-19)
Delete the selection on composition start when on a mark boundary to force Chrome to apply the correct style to the composition.
When the browser starts a composition and the selection spans across blocks, start by clearing it to make sure the composed text node lands in a valid position.
Changelog
1.33.10 (2024-08-13)
Prevent triple clicks and clicks on atom nodes from dispatching a selection update when the new selection is equal to the current selection.
Don't crash when window.getSelection()
returns null.
Create a cursor wrapper when starting a composition with a selection that spans mark boundaries, to avoid odd DOM forms created by Chrome in such a situation.
Changelog
1.33.9 (2024-07-18)
Fix an issue where dragging an image on Chrome versions before 121 failed to put the image file in the clipboard data.
Enable cross-site scripting protection hack when rendering nodes and marks inside the editor.
Changelog
1.33.8 (2024-06-11)
When composition happens with the cursor between two text nodes, use the last mutated one to guess which one is being changed.
Changelog
1.33.7 (2024-05-31)
Ignore stray <br>
nodes added to parent list elements when backspacing near uneditable content in Firefox.
Fix a crash where the editor tried to call removeAttribute
on a text node.
Fix an issue where coordinates near nested blocks could inappropriately be assigned to be inside those blocks.