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

@lexical/selection

Package Overview
Dependencies
Maintainers
0
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/selection - npm Package Versions

1
1820

0.2.7

Diff

Changelog

Source

0.2.7 (May 9, 2022)

  • Fix Firefox composition bug with emojis (#2109)
  • Add a cache for selection.getNodes() (#2088)
  • remove root style from theme (#2084)
  • Fix character styles position + caret color (#2080)
  • Remove TextNode __marks (#2022)
  • Move isComposing to TextNode (#2032)
  • Markdown import/export/shortcuts (#1998)
  • Improve Lexical -> HTML and Lexical -> Lexical Copy and Paste Data Model Conversion (#1996)
  • Headless editor mode (#2046)
  • Checklist support (#2050)
  • Type definitions fixes (#2076, #2030, #2023, #2028)
  • Adding support for parsed JSON in addition to stringified JSON (#2055)
  • Remove root style from theme (#2084)
  • Fix character styles position + caret color (#2080)
  • Multiple fixes for node insertion and selection
  • Documentation updates
fantactuka
published 0.2.6 •

zurfyx
published 0.2.5 •

Changelog

Source

0.2.5 (April 28, 2022)

  • Add TextMarks to TextNode (#1912)
  • Fix various collab bugs with lists (#1984)
  • Fix cached getTextContent() to reflect new lines (#1993)
  • Fix equation node handling on Android (#1968)
  • Fix formatting on embeds (#1963)
  • Improve multi element indentation - added ElementNode.canIndent (#1982)
  • Fix bugs around pressing the enter key in Safari (#1943)
  • Fix delete empty lines on tables (#1905)
  • Fix copy-paste format loss (#1913)
  • Fix memory leak with EditorContext (#1767)
  • Fix various selection issues on node boundaries (#1917)
  • Fix some .js.flow and d.ts types
fantactuka
published 0.2.4 •

Changelog

Source

0.2.4 (April 21, 2022)

  • Add subscript/superscript elements to TextNode (#1903)
  • Do not reconcile selection during readOnly (#1900)
  • Add embed block to playground (#1895)
  • Fix list outdent & indent bug (#1883)
  • Excalidraw fixes (#1871)
  • Updates to type definitions for Flow and TS
  • Updates to documentation
acywatson
published 0.2.3 •

Changelog

Source

0.2.3 (April 19, 2022)

  • Fix bug in lists causing extra list items to be appended in some cases. (#1802)
  • Fix double selection issue in collab (#1856)
  • Add KEY_MODIFIER_COMMAND (#1859)
  • Fix bug with alignment for root level decorator nodes v2 (#1867)
  • Fix issue with inserting paragraphs between text nodes. (#1864)
zurfyx
published 0.2.2 •

Changelog

Source

0.2.2 (April 18, 2022)

  • Command priorities are now constants exposed by lexical
  • More fixes to Android GBoard
  • Fixed some any d.ts types
acywatson
published 0.2.1 •

Changelog

Source

0.2.1 (April 14, 2022)

  • Fix selection issue with insertNodes
  • Fix rich text align for multiple nodes
  • Improve CodeBlock selection escaping
  • Fix detection of iOS browser
  • Fix Ctrl+H Delete backward
  • Fix type of children in TypeScript declarations
  • Fix android GBoard issues
  • Various other fixes and improvements
acywatson
published 0.2.0 •

Changelog

Source

0.2.0 (April 13, 2022)

  • Remove DecoratorNode state
  • Redefine TS React.Node type
  • Add markdown indented list support
  • Fix IME issue when applying text format
trueadm
published 0.1.21 •

Changelog

Source

0.1.21 (April 12, 2022)

  • Add line numbers in Code Highlight plugin.
  • Remove top-level document reference to fix SSR.
  • Show highlight language over code block
  • Fix bug in RangeSelection.is that was causing incorrect formatting.
  • Improve copy/paste for Tables and Lists
  • Handle RangeSelection Containing Partial Table Selection
acywatson
published 0.1.20 •

Changelog

Source

0.1.20 (April 7, 2022)

  • Fix build issue with @lexical/code
  • Add $getNearestBlockElementAncestorOrThrow helper
  • Fix issues related to getting the wrong element ancestor in certain rich text features
  • Improve table resizing
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