Skip to content

Commit

Permalink
Mark version 6.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Nov 3, 2023
1 parent 50ceab7 commit 81a7207
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 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)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codemirror/view",
"version": "6.21.4",
"version": "6.22.0",
"description": "DOM view component for the CodeMirror code editor",
"scripts": {
"test": "cm-runtests",
Expand Down

0 comments on commit 81a7207

Please sign in to comment.