prosemirror-view
Advanced tools
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.
Changelog
1.33.6 (2024-04-30)
Make sure the content slice stored for an in-editor drag is the one that was transformed by transformCopied
.
Changelog
1.33.5 (2024-04-22)
Fix a regression in composition handling in 1.33.3 that occurs for some IMEs when starting composition on an empty line.
Changelog
1.33.4 (2024-04-08)
When available, use Selection.getComposedRanges
on Safari to find the selection inside a shadow DOM.