prosemirror-view 1.42.5 → 1.42.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,33 @@
1
+ ## 1.42.7 (2026-10-22)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix an issue where some kinds of changes inside inline nodes with content were inappropriately treated as backspace events.
6
+
7
+ Fix some selection issues in a shadow root on Safari by working around the relevant browser bugs.
8
+
9
+ Improve cursor motion across non-text in blocks that don't have the same text direction as the editor as a whole.
10
+
11
+ Fix an issue where decoration sets with lots of node decorations inside a single parent would require quadratic time to update.
12
+
13
+ Fix a regression in `posAtDOM` (and DOM selection reading) when the position is outside the nearest node's content DOM, but not directly in its outer element.
14
+
15
+ Avoid a selection read in DOM flushing when the editor doesn't have focus.
16
+
17
+ ## 1.42.6 (2026-09-25)
18
+
19
+ ### Bug fixes
20
+
21
+ Work around an issue in Firefox where horizontal cursor motion would refuse to stop between an inline atom node and the start of a line.
22
+
23
+ On Safari and Firefox, work around skipped cursor positions and odd cursor drawing by putting a dummy node in front of atomic inline nodes when they appear at the start of the block or right after another atom.
24
+
25
+ Fix an issue where `posAtDOM` would incorrectly return a position before a node when querying a DOM position outside of its content element but inside of a wrapping element.
26
+
27
+ Work around a Firefox bug that causes content wrapped in a scrollable element to be skipped over in keyboard cursor motion.
28
+
29
+ Improve performance of non-DOM-connected editors by avoiding DOM selection queries.
30
+
1
31
  ## 1.42.5 (2026-09-21)
2
32
 
3
33
  ### Bug fixes