Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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

1
1719

0.18.4

Diff

Changelog

Source

0.18.4 (2021-04-07)

Bug fixes

Fix an issue where the default focus ring gets obscured by the gutters and active line.

Fix an issue where the editor believed Chrome Android didn't support the CSS tab-size style.

Don't style active lines when there are non-empty selection ranges, so that the active line background doesn't obscure the selection.

Make iOS autocapitalize update properly when you press Enter.

marijn
published 0.18.3 •

Changelog

Source

0.18.3 (2021-03-19)

Breaking changes

The outer DOM element now has class cm-editor instead of cm-wrap (cm-wrap will be present as well until 0.19).

Bug fixes

Improve behavior of posAtCoords when the position is near text but not in any character's actual box.

marijn
published 0.18.2 •

Changelog

Source

0.18.2 (2021-03-19)

Bug fixes

Triple-clicking now selects the line break after the clicked line (if any).

Fix an issue where the drawSelection plugin would fail to draw the top line of the selection when it started in an empty line.

Fix an issue where, at the end of a specific type of composition on iOS, the editor read the DOM before the browser was done updating it.

marijn
published 0.18.1 •

Changelog

Source

0.18.1 (2021-03-05)

Bug fixes

Fix an issue where, on iOS, some types of IME would cause the composed content to be deleted when confirming a composition.

marijn
published 0.18.0 •

Changelog

Source

0.18.0 (2021-03-03)

Breaking changes

The themeClass function and ``-style selectors in themes are no longer supported (prefixing with cm- should be done manually now).

Themes must now use & (instead of an extra $) to target the editor wrapper element.

The editor no longer adds cm-light or cm-dark classes. Targeting light or dark configurations in base themes should now be done by using a &light or &dark top-level selector.

marijn
published 0.17.13 •

Changelog

Source

0.17.13 (2021-03-03)

Bug fixes

Work around a Firefox bug where it won't draw the cursor when it is between uneditable elements.

Fix a bug that broke built-in mouse event handling.

marijn
published 0.17.12 •

Changelog

Source

0.17.12 (2021-03-02)

Bug fixes

Avoid interfering with touch events, to allow native selection behavior.

Fix a bug that broke sub-selectors with multiple & placeholders in themes.

marijn
published 0.17.11 •

Changelog

Source

0.17.11 (2021-02-25)

Bug fixes

Fix vertical cursor motion on Safari with a larger line-height.

Fix incorrect selection drawing (with drawSelection) when the selection spans to just after a soft wrap point.

Fix an issue where compositions on Safari were inappropriately aborted in some circumstances.

The view will now redraw when the EditorView.phrases facet changes, to make sure translated text is properly updated.

marijn
published 0.17.10 •

Changelog

Source

0.17.10 (2021-02-22)

Bug fixes

Long words without spaces, when line-wrapping is enabled, are now properly broken.

Fix the horizontal position of selections drawn by drawSelection in right-to-left editors with a scrollbar.

marijn
published 0.17.9 •

Changelog

Source

0.17.9 (2021-02-18)

Bug fixes

Fix an issue where pasting linewise at the start of a line left the cursor before the inserted content.

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