@codemirror/view
Advanced tools
Comparing version 6.21.4 to 6.22.0
@@ -0,1 +1,17 @@ | ||
## 6.22.0 (2023-11-03) | ||
### Bug fixes | ||
Exceptions raised by update listeners are now routed to the configured exception sink, if any. | ||
Fix an issue where passing large scroll margins to `scrollIntoView` would cause the measure loop to fail to terminate. | ||
Widgets that are draggable (and allow drag events through in their `ignoreEvent` implementation) can now use the editor's built-in drag/drop behavior. | ||
### New features | ||
The new `scrollTo` option to `EditorView` allows an initial scroll position to be provided. | ||
The new `EditorView.scrollSnapshot` method returns an effect that can be used to reset to a previous scroll position. | ||
## 6.21.4 (2023-10-24) | ||
@@ -2,0 +18,0 @@ |
{ | ||
"name": "@codemirror/view", | ||
"version": "6.21.4", | ||
"version": "6.22.0", | ||
"description": "DOM view component for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1069018
22908
7
38