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.3.1

Diff

Changelog

Source

6.3.1 (2022-10-10)

Bug fixes

Fix a crash when trying to scroll something into view in an editor that wasn't in the visible DOM.

Fix an issue where coordsAtPos returned the coordinates on the wrong side of a widget decoration wrapped in a mark decoration.

Fix an issue where content on long wrapped lines could fail to properly scroll into view.

Fix an issue where DOM change reading on Chrome Android could get confused when a transaction came in right after a beforeinput event for backspace, enter, or delete.

marijn
published 6.3.0 •

Changelog

Source

6.3.0 (2022-09-28)

Bug fixes

Reduce the amount of wrap-point jittering when scrolling through a very long wrapped line.

Fix an issue where scrolling to content that wasn't currently drawn due to being on a very long line would often fail to scroll to the right position.

Suppress double-space-adds-period behavior on Chrome Mac when it behaves weirdly next to widget.

New features

Key binding objects with an any property will now add handlers that are called for any key, within the ordering of the keybindings.

marijn
published 6.2.5 •

Changelog

Source

6.2.5 (2022-09-24)

Bug fixes

Don't override double/triple tap behavior on touch screen devices, so that the mobile selection menu pops up properly.

Fix an issue where updating the selection could crash on Safari when the editor was hidden.

marijn
published 6.2.4 •

Changelog

Source

6.2.4 (2022-09-16)

Bug fixes

Highlight the active line even when there is a selection. Prevent the active line background from obscuring the selection backdrop.

Fix an issue where elements with negative margins would confuse the editor's scrolling-into-view logic.

Fix scrolling to a specific position in an editor that has not been in view yet.

marijn
published 6.2.3 •

Changelog

Source

6.2.3 (2022-09-08)

Bug fixes

Fix a bug where cursor motion, when starting from a non-empty selection range, could get stuck on atomic ranges in some circumstances.

Avoid triggering Chrome Android's text-duplication issue when a period is typed in the middle of a word.

marijn
published 6.2.2 •

Changelog

Source

6.2.2 (2022-08-31)

Bug fixes

Don't reset the selection for selection change events that were suppressed by a node view.

marijn
published 6.2.1 •

Changelog

Source

6.2.1 (2022-08-25)

Bug fixes

Don't use the global document variable to track focus, since that doesn't work in another window/frame.

Fix an issue where key handlers that didn't return true were sometimes called twice for the same keypress.

Avoid editing glitches when using deletion keys like ctrl-d on iOS.

Properly treat characters from the 'Arabic Presentation Forms-A' Unicode block as right-to-left.

Work around a Firefox bug that inserts text at the wrong point for specific cross-line selections.

marijn
published 6.2.0 •

Changelog

Source

6.2.0 (2022-08-05)

Bug fixes

Fix a bug where posAtCoords would return the wrong results for positions to the right of wrapped lines.

New features

The new EditorView.setRoot method can be used when an editor view is moved to a new document or shadow root.

marijn
published 6.1.4 •

Changelog

Source

6.1.4 (2022-08-04)

Bug fixes

Make selection-restoration on focus more reliable.

marijn
published 6.1.3 •

Changelog

Source

6.1.3 (2022-08-03)

Bug fixes

Fix a bug where a document that contains only non-printing characters would lead to bogus text measurements (and, from those, to crashing).

Make sure differences between estimated and actual block heights don't cause visible scroll glitches.

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