You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@codemirror/view

Package Overview
Dependencies
Maintainers
2
Versions
183
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
Next

6.29.1

Diff

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.

marijn
published 6.28.4 •

Changelog

Source

6.28.4 (2024-07-03)

Bug fixes

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

marijn
published 6.28.3 •

Changelog

Source

6.28.3 (2024-07-01)

Bug fixes

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

marijn
published 6.28.2 •

Changelog

Source

6.28.2 (2024-06-21)

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.

marijn
published 6.28.1 •

Changelog

Source

6.28.1 (2024-06-12)

Bug fixes

Disable EditContext by default again, to work around a regression where Chrome's implementation doesn't support inverted selections.

Make sure EditorView.editable is respected when EditContext is used.

marijn
published 6.28.0 •

Changelog

Source

6.28.0 (2024-06-10)

Bug fixes

Fix an issue where long lines broken up by block widgets were sometimes only partially rendered.

New features

The editor will now, when available (which is only on Chrome for the foreseeable future) use the EditContext API to capture text input.

marijn
published 6.27.0 •

Changelog

Source

6.27.0 (2024-06-04)

New features

The new setTabFocusMode method can be used to control whether the editor disables key bindings for Tab and Shift-Tab.

23
19
Next
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc