@codemirror/view 0.19.27 → 0.19.31

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,45 @@
1
+ ## 0.19.31 (2021-12-13)
2
+
3
+ ### New features
4
+
5
+ The package now exports a `dropCursor` extension that draws a cursor at the current drop position when dragging content over the editor.
6
+
7
+ ## 0.19.30 (2021-12-13)
8
+
9
+ ### Bug fixes
10
+
11
+ Refine Android key event handling to work properly in a GBoard corner case where pressing Enter fires a bunch of spurious deleteContentBackward events.
12
+
13
+ Fix a crash in `drawSelection` for some kinds of selections.
14
+
15
+ Prevent a possibility where some content updates causes duplicate text to remain in DOM.
16
+
17
+ ### New features
18
+
19
+ Support a `maxLength` option to `MatchDecorator` that allows user code to control how far it scans into hidden parts of viewport lines.
20
+
21
+ ## 0.19.29 (2021-12-09)
22
+
23
+ ### Bug fixes
24
+
25
+ Fix a bug that could cause out-of-view editors to get a nonsensical viewport and fail to scroll into view when asked to.
26
+
27
+ Fix a bug where would return 0 when clicking below the content if the last line was replaced with a block widget decoration.
28
+
29
+ Fix an issue where clicking at the position of the previous cursor in a blurred editor would cause the selection to reset to the start of the document.
30
+
31
+ Fix an issue where composition could be interrupted if the browser created a new node inside a mark decoration node.
32
+
33
+ ## 0.19.28 (2021-12-08)
34
+
35
+ ### Bug fixes
36
+
37
+ Fix an issue where pressing Enter on Chrome Android during composition did not fire key handlers for Enter.
38
+
39
+ Avoid a Chrome bug where the virtual keyboard closes when pressing backspace after a widget.
40
+
41
+ Fix an issue where the editor could show a horizontal scroll bar even after all lines that caused it had been deleted or changed.
42
+
1
43
  ## 0.19.27 (2021-12-06)
2
44
 
3
45
  ### Bug fixes