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
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/view - npm Package Versions

1
1718

0.17.9

Diff

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.

marijn
published 0.17.8 •

Changelog

Source

0.17.8 (2021-02-16)

Bug fixes

Fix a problem where the DOM selection and the editor state could get out of sync in non-editable mode.

Fix a crash when the editor was hidden on Safari, due to getClientRects returning an empty list.

Prevent Firefox from making the scrollable element keyboard-focusable.

marijn
published 0.17.7 •

Changelog

Source

0.17.7 (2021-01-25)

New features

Add an EditorView.announce state effect that can be used to conveniently provide screen reader announcements.

marijn
published 0.17.6 •

Changelog

Source

0.17.6 (2021-01-22)

Bug fixes

Avoid creating very high scroll containers for large documents so that we don't overflow the DOM's fixed-precision numbers.

marijn
published 0.17.5 •

Changelog

Source

0.17.5 (2021-01-15)

Bug fixes

Fix a bug that would create space-filling placeholders with incorrect height when document is very large.

marijn
published 0.17.4 •

Changelog

Source

0.17.4 (2021-01-14)

Bug fixes

The drawSelection extension will now reuse cursor DOM nodes when the number of cursors stays the same, allowing some degree of cursor transition animation.

Makes highlighted special characters styleable (``) and fix their default look in dark themes to have appropriate contrast.

New features

Adds a new MatchDecorator helper class which can be used to easily maintain decorations on content that matches a regular expression.

marijn
published 0.17.3 •

Changelog

Source

0.17.3 (2021-01-06)

New features

The package now also exports a CommonJS module.

marijn
published 0.17.2 •

Changelog

Source

0.17.2 (2021-01-04)

Bug fixes

Work around Chrome problem where the native shift-enter behavior inserts two line breaks.

Make bracket closing and bracket pair removing more reliable on Android.

Fix bad cursor position and superfluous change transactions after pressing enter when in a composition on Android.

Fix issue where the wrong character was deleted when backspacing out a character before an identical copy of that character on Android.

marijn
published 0.17.1 •

Changelog

Source

0.17.1 (2020-12-30)

Bug fixes

Fix a bug that prevented ViewUpdate.focusChanged from ever being true.

marijn
published 0.17.0 •

Changelog

Source

0.17.0 (2020-12-29)

Breaking changes

First numbered release.

1
1718
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