← 输入框|github.com|刷新
Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Tags: codemirror/view

Tags

6.41.0

Toggle 6.41.0's commit message
Version 6.41.0

### Bug fixes

Fix an issue where `EditorView.posAtCoords` could incorrectly return a position near a higher element on the line, in mixed-font-size lines.

Expand the workaround for the Webkit bug that causes nonexistent selections to stay visible to be active on non-Safari Webkit browsers.

### New features

The new `EditorView.cursorScrollMargin` facet can now be used to configure the extra space used when scrolling the cursor into view.

6.40.0

Toggle 6.40.0's commit message
Version 6.40.0

### Bug fixes

Fix a bug that caused Shift-Enter/Backspace/Delete on iOS to lose the shift modifier when delivered to key event handlers.

Fix an issue where `EditorView.moveVertically` could move to the wrong place in wrapped lines with a large line height.

Make sure the selection head associativity is properly set for mouse selections made with shift held down.

### New features

`WidgetType.updateDOM` is now called with the previous widget value as third argument.

6.39.17

Toggle 6.39.17's commit message
Version 6.39.17

### Bug fixes

Improve touch tap-selection on line wrapping boundaries.

Make `drawSelection` draw our own selection handles on iOS.

Fix an issue where `posAtCoords`, when querying line wrapping points, got confused by extra empty client rectangles produced by Safari.

6.39.16

Toggle 6.39.16's commit message
Version 6.39.16

### Bug fixes

Perform scroll stabilization on the document or wrapping scrollable elements, when the user scrolls the editor.

Fix an issue where changing decorations right before a composition could end up corrupting the visible DOM.

Fix an issue where some types of text input over a selection would be read as happening in wrong position.

6.39.15

Toggle 6.39.15's commit message
Version 6.39.15

### Bug fixes

Fix a regression where the editor would forget previously measured line heights without good reason.

Fix an issue where scrolling the cursor into view sometimes wouldn't work on Chrome Android.

Fix a bug that broke composition inside of block wrappers.

6.39.14

Toggle 6.39.14's commit message
Version 6.39.14

### Bug fixes

Improve performance of `posAtCoords` on long lines.

Fix a regression where copy and cut in a shadow DOM on Safari would fall back to the native behavior, often copying the wrong text.

6.39.13

Toggle 6.39.13's commit message
Version 6.39.13

### Bug fixes

Fix an issue where a widget at start or end of line, when wrapped to cover that whole line, could block vertical cursor motion.

Fix an issue `EditorView.moveVertically` that would sometimes cause selection-extending vertical motion to get stuck on line wrapping points.

6.39.12

Toggle 6.39.12's commit message
Version 6.39.12

### Bug fixes

Fix a bug where the visual selection drawn by `drawSelection` could fail to update properly in some circumstances.

Fix a bug where PageUp/PageDown near the edge of the viewport might completely skip to the start/end of the document.

Fix a regression that caused mark decorations to be split on text node chunk boundaries again.

6.39.11

Toggle 6.39.11's commit message
Version 6.39.11

### Bug fixes

Avoid handling copy events for parent editors.

6.39.10

Toggle 6.39.10's commit message
Version 6.39.10

### Bug fixes

Fix a regression in the way widget are reused when content next to them changes.

Make sure font metrics get recomputed on `fonts.ready` even if the line height doesn't change.

Fix an issue where compositions next to a widget that create a new text node could get needlessly interrupted during an editor update.