Socket
Socket
Sign inDemoInstall

@codemirror/view

Package Overview
Dependencies
Maintainers
2
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/view - npm Package Versions

23
19

6.34.1

Diff

Changelog

Source

6.34.1 (2024-09-27)

Bug fixes

Avoid a stack overflow that could happen when updating a line with a lot of text tokens.

Improve the way enormously long (non-wrapped) lines are displayed by making sure they stay shorter than the maximal pixel size the browser's CSS engine can handle.

marijn
published 6.34.0 •

marijn
published 6.33.0 •

Changelog

Source

6.33.0 (2024-08-24)

Bug fixes

Make it easier to move the pointer over a hover tooltip with an arrow by not closing the tooltip when the pointer is moving over the gap for the arrow.

New features

The new EditorView.clipboardInputFilter and clipboardOutputFilter facets allow you to register filter functions that change text taken from or sent to the clipboard.

marijn
published 6.32.0 •

Changelog

Source

6.32.0 (2024-08-12)

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.

marijn
published 6.31.0 •

Changelog

Source

6.31.0 (2024-08-11)

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.

marijn
published 6.30.0 •

Changelog

Source

6.30.0 (2024-08-05)

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.

marijn
published 6.29.1 •

Changelog

Source

6.29.1 (2024-07-29)

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.

marijn
published 6.29.0 •

Changelog

Source

6.29.0 (2024-07-25)

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.

marijn
published 6.28.6 •

Changelog

Source

6.28.6 (2024-07-19)

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.

marijn
published 6.28.5 •

Changelog

Source

6.28.5 (2024-07-17)

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.

23
19
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc