@codemirror/view 6.12.0 → 6.13.1

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,25 @@
1
+ ## 6.13.1 (2023-06-12)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix a bug where the cursor would in some circumstances be drawn on the wrong side of an inline widget.
6
+
7
+ Fix an issue where `scrollPastEnd` could cause the scroll position of editors that weren't in view to be changed unnecessarily.
8
+
9
+ ## 6.13.0 (2023-06-05)
10
+
11
+ ### Bug fixes
12
+
13
+ Forbid widget decoration side values bigger than 10000, to prevent them from breaking range ordering invariants.
14
+
15
+ Fix a bug where differences between widgets' estimated and actual heights could cause the editor to inappropriately move the scroll position.
16
+
17
+ Avoid another situation in which composition that inserts line breaks could corrupt the editor DOM.
18
+
19
+ ### New features
20
+
21
+ Inline widgets may now introduce line breaks, if they report this through the `WidgetType.lineBreaks` property.
22
+
1
23
  ## 6.12.0 (2023-05-18)
2
24
 
3
25
  ### Bug fixes