Socket
Socket
Sign inDemoInstall

@codemirror/view

Package Overview
Dependencies
Maintainers
2
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/view - npm Package Versions

1
19

6.1.2

Diff

Changelog

Source

6.1.2 (2022-07-27)

Bug fixes

Fix an issue where double tapping enter to confirm IME input and insert a newline on iOS would sometimes insert two newlines.

Fix an issue on iOS where a composition could get aborted if the editor scrolled on backspace.

marijn
published 6.1.1 •

Changelog

Source

6.1.1 (2022-07-25)

Bug fixes

Make highlightSpecialChars replace directional isolate characters by default.

The editor will now try to suppress browsers' native behavior of resetting the selection in the editable content when the editable element is focused (programmatically, with tab, etc).

Fix a CSS issue that made it possible, when the gutters were wide enough, for them to overlap with the content.

marijn
published 6.1.0 •

Changelog

Source

6.1.0 (2022-07-19)

New features

MatchDecorator now supports a decorate option that can be used to customize the way decorations are added for each match.

marijn
published 6.0.3 •

Changelog

Source

6.0.3 (2022-07-08)

Bug fixes

Fix a problem where posAtCoords could incorrectly return the start of the next line when querying positions between lines.

Fix an issue where registering a high-precedence keymap made keymap handling take precedence over other keydown event handlers.

Ctrl/Cmd-clicking can now remove ranges from a multi-range selection.

marijn
published 6.0.2 •

Changelog

Source

6.0.2 (2022-06-23)

Bug fixes

Fix a CSS issue that broke horizontal scroll width stabilization.

Fix a bug where defaultLineHeight could get an incorrect value in very narrow editors.

marijn
published 6.0.1 •

Changelog

Source

6.0.1 (2022-06-17)

Bug fixes

Avoid DOM selection corruption when the editor doesn't have focus but has selection and updates its content.

Fall back to dispatching by key code when a key event produces a non-ASCII character (so that Cyrillic and Arabic keyboards can still use bindings specified with Latin characters).

marijn
published 6.0.0 •

Changelog

Source

6.0.0 (2022-06-08)

New features

The new static EditorView.findFromDOM method can be used to retrieve an editor instance from its DOM structure.

Instead of passing a constructed state to the EditorView constructor, it is now also possible to inline the configuration options to the state in the view config object.

marijn
published 0.20.7 •

Changelog

Source

0.20.7 (2022-05-30)

Bug fixes

Fix an issue on Chrome Android where the DOM could fail to display the actual document after backspace.

Avoid an issue on Chrome Android where DOM changes were sometimes inappropriately replace by a backspace key effect due to spurious beforeinput events.

Fix a problem where the content element's width didn't cover the width of the actual content.

Work around a bug in Chrome 102 which caused wheel scrolling of the editor to be interrupted every few lines.

marijn
published 0.20.6 •

Changelog

Source

0.20.6 (2022-05-20)

Bug fixes

Make sure the editor re-measures itself when its attributes are updated.

marijn
published 0.20.5 •

Changelog

Source

0.20.5 (2022-05-18)

Bug fixes

Fix an issue where gutter elements without any markers in them would not get the cm-gutterElement class assigned.

Fix an issue where DOM event handlers registered by plugins were retained indefinitely, even after the editor was reconfigured.

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