@codemirror/view 6.18.1 → 6.20.0
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 +30 -0
- package/dist/index.cjs +524 -482
- package/dist/index.d.cts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +524 -483
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
## 6.20.0 (2023-09-20)
|
|
2
|
+
|
|
3
|
+
### Bug fixes
|
|
4
|
+
|
|
5
|
+
Fix an issue that caused `repositionTooltips` to crash when it was called on an editor without tooltips.
|
|
6
|
+
|
|
7
|
+
Fix an issue that caused the tooltip system to leave empty nodes in the DOM when an editor using the `parent` option to `tooltips` is destroyed.
|
|
8
|
+
|
|
9
|
+
Fix a bug that regression mouse interaction with the area of a fixed-size editor that isn't covered by the content.
|
|
10
|
+
|
|
11
|
+
Fix some issues with the way `moveVertically` behaved for positions on line wrap points.
|
|
12
|
+
|
|
13
|
+
Fix a bug that could cause the document DOM to be incorrectly updated on some types of viewport changes.
|
|
14
|
+
|
|
15
|
+
### New features
|
|
16
|
+
|
|
17
|
+
The new `getDrawSelectionConfig` function returns the `drawSelection` configuration for a given state.
|
|
18
|
+
|
|
19
|
+
## 6.19.0 (2023-09-14)
|
|
20
|
+
|
|
21
|
+
### Bug fixes
|
|
22
|
+
|
|
23
|
+
Make sure the drop cursor is properly cleaned up even when another extension handles the drop event.
|
|
24
|
+
|
|
25
|
+
Fix a crash related to non-inclusive replacing block decorations.
|
|
26
|
+
|
|
27
|
+
### New features
|
|
28
|
+
|
|
29
|
+
The new `EditorView.domEventObservers` (and the corresponding option to view plugins) allows you to register functions that are always called for an event, regardless of whether other handlers handled it.
|
|
30
|
+
|
|
1
31
|
## 6.18.1 (2023-09-11)
|
|
2
32
|
|
|
3
33
|
### Bug fixes
|