@codemirror/view 0.19.24 → 0.19.28

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,41 @@
1
+ ## 0.19.28 (2021-12-08)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix an issue where pressing Enter on Chrome Android during composition did not fire key handlers for Enter.
6
+
7
+ Avoid a Chrome bug where the virtual keyboard closes when pressing backspace after a widget.
8
+
9
+ Fix an issue where the editor could show a horizontal scroll bar even after all lines that caused it had been deleted or changed.
10
+
11
+ ## 0.19.27 (2021-12-06)
12
+
13
+ ### Bug fixes
14
+
15
+ Fix a bug that could cause `EditorView.plugin` to inappropriately return `null` during plugin initialization.
16
+
17
+ Fix a bug where a block widget without `estimatedHeight` at the end of the document could fail to be drawn
18
+
19
+ ## 0.19.26 (2021-12-03)
20
+
21
+ ### New features
22
+
23
+ Widgets can now define a `destroy` method that is called when they are removed from the view.
24
+
25
+ ## 0.19.25 (2021-12-02)
26
+
27
+ ### Bug fixes
28
+
29
+ Widgets around replaced ranges are now visible when their side does not point towards the replaced range.
30
+
31
+ A replaced line with a line decoration no longer creates an extra empty line block in the editor.
32
+
33
+ The `scrollPastEnd` extension will now over-reserve space at the bottom of the editor on startup, to prevent restored scroll positions from being clipped.
34
+
35
+ ### New features
36
+
37
+ `EditorView.editorAttributes` and `contentAttributes` may now hold functions that produce the attributes.
38
+
1
39
  ## 0.19.24 (2021-12-01)
2
40
 
3
41
  ### Bug fixes