Skip to content

Tags: codemirror/view

Tags

6.32.0

Toggle 6.32.0's commit message
Version 6.32.0

### Bug fixes

Fix a bug where the editor could draw way too big a viewport when not managing its own scrollbar.

### New features

The new `gutterWidgetClass` facet makes it possible to add a class to gutter elements next to widgets.

6.31.0

Toggle 6.31.0's commit message
Version 6.31.0

### Bug fixes

Avoid the editor's geometry measurements becoming incorrect when fonts finish loading by scheduling a measure on `document.fonts.ready`.

Avoid an issue where Chrome would incorrectly scroll the window when deleting lines in the editor.

Fix an issue where in some layouts editor content would be drawn on top of panel elements.

Fix an issue where `coordsAtPos` would return null when querying a position in a block widget.

### New features

The new `lineNumberWidgetMarker` facet makes it possible to insert markers into the line number gutter for widgets.

6.30.0

Toggle 6.30.0's commit message
Version 6.30.0

### Bug fixes

Make spell check corrections work again on `EditContext`-enabled Chrome versions.

### New features

The value returned by `hoverTooltip` now has an `active` property providing the state field used to store the open tooltips.

6.29.1

Toggle 6.29.1's commit message
Version 6.29.1

### Bug fixes

Fix a crash on old Safari browsers that don't support `MediaQueryList.addEventListener`.

Fix an issue where `EditorView.viewportLineBlocks` (and thus other things like the gutter) might be out of date after some kinds of decoration changes.

6.29.0

Toggle 6.29.0's commit message
Version 6.29.0

### Bug fixes

Fix an issue that caused typing into an editor marked read-only to cause document changes when using `EditContext`.

Associate a cursor created by clicking above the end of the text on a wrap point with the line before it.

### New features

The package now exports the type of hover tooltip sources as `HoverTooltipSource`.

6.28.6

Toggle 6.28.6's commit message
Version 6.28.6

### Bug fixes

Fix an issue where the editor got confused about the position of inserted text when using Chrome's `EditContext` and canceling transactions for typed text.

6.28.5

Toggle 6.28.5's commit message
Version 6.28.5

### Bug fixes

Fix a bug that broke drag scrolling along one axis when the innermost scrollable element around the editor was only scrollable along the other axis.

Work around a memory leak in Chrome's EditContext implementation.

6.28.4

Toggle 6.28.4's commit message
Version 6.28.4

### Bug fixes

Fix a bug where EditContext-based editing could corrupt the document in some situations.

6.28.3

Toggle 6.28.3's commit message
Version 6.28.3

### Bug fixes

Fix an issue causing the IME interface to appear in the wrong spot on Chrome Windows.

6.28.2

Toggle 6.28.2's commit message
Version 6.28.2

### Bug fixes

Only use `EditContext` on Chrome versions that support passing it an inverted selection range.

Fix an issue that prevented non-inclusive block widgets from having their `updateDOM` method called when changed.

Re-enable `EditContext` use on Chrome 126 and up.