Socket
Socket
Sign inDemoInstall

lexical

Package Overview
Dependencies
Maintainers
4
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lexical - npm Package Versions

1
18

0.1.19

Diff

Changelog

Source

0.1.19 (April 7, 2022)

  • Fix import issue in @lexical/list
  • Fix incorrect types in @lexical/dragon
trueadm
published 0.1.18 •

Changelog

Source

0.1.18 (April 6, 2022)

  • Fix bad build
acywatson
published 0.1.17 •

Changelog

Source

0.1.17 (April 6, 2022)

  • Fix some outstanding issues with the textcontent listener and the removal of linebreaks.
  • Add useLexicaTextEntity hook for using TextEntity in React.
  • Add a warning when cloned nodes might unexpectedly refer to the pending editor state
  • Add support for keyboard selection in Tables.
  • Rename add* APIs to register* (e.g., addUpdateListener -> registerUpdateListener)
  • Deprecate editor prop in Lexical Composer
  • Reorganize code, creating several new packages: @lexical/code, rich-text, plain-text, dragon, history, link, overflow, markdown
  • Move withSubscription to @lexical/utils
  • Move command types out of listener callbacks and makes them an argument to registerCommand
  • Add createCommand for better command payload typing
  • Rename execCommand to dispatchCommand
  • Add id prop to LexicalContentEditable
  • Add basic support for copying and pasting tables.
  • Various bug fixes and performance improvements
acywatson
published 0.1.16 •

Changelog

Source

0.1.16 (March 17, 2022)

  • Fix scrolling regression.
  • Add missing dependency in lexical-react.
acywatson
published 0.1.15 •

Changelog

Source

0.1.15 (March 16, 2022)

  • Improve composition on Firefox
  • Splits helper code into several smaller packages.
  • Fixes clipboard behavior on Firefox.
  • Fix hashtag with adjacent non-simple text node
  • Rename addTransform to addNodeTransform
  • Fix copy & paste issue
zurfyx
published 0.1.14 •

Changelog

Source

0.1.14 (March 04, 2022)

  • Added TableCellHeaderStates to enable table header customization.
  • Fixes to composition for WebKit.
  • Fixes to HashtagPlugin destroy behavior.
  • SSR fixes.
zurfyx
published 0.1.13 •

Changelog

Source

0.1.13 (March 02, 2022)

  • Moved appropriate NPM peer dependencies to dependencies. I.e. @lexical/clipboard will now be fetched automatically when using @lexical/react.
  • Simplified LexicalNestedComposer props to inherit parent when possible.
  • SSR fixes.
zurfyx
published 0.1.12 •

Changelog

Source

0.1.12 (February 28, 2022)

  • Added TypeScript definitions for lexical and @lexical/react
  • LexicalComposer and createEditor now take a mandatory onError prop.
  • createEditor can now take an optional readOnly prop.
  • Moved LexicalEventHelpers to @lexical/clipboard.
  • Minor selection fixes.
trueadm
published 0.1.11 •

Changelog

Source

0.1.11 (February 24, 2022)

  • Added GridSelection to support table selection. Selection is now null | RangeSelection | GridSelection | NodeSelection.
  • The editor now natively supports read only mode. Use editor.setReadOnly(boolean) and editor.isReadOnly() to find the read only mode.
  • An additional listener has been added to support listening to readonly changes. Use editor.registerListener('readonly', value => {... }) to react to read only mode changes.
  • The BootstrapPlugin has been removed. Instead now use the initialEditorState prop on either the PlainTextPlugin or RichTextPlugin to initialize editor state.
zurfyx
published 0.1.10 •

Changelog

Source

0.1.10 (February 22, 2022)

  • Added NodeSelection to support multiple non-adjacent node selection. Selection is now null | RangeSelection | NodeSelection. Upgrade note: selection !== null -> $isRangeSelection(selection).
  • HTML to DOM conversion has been to moved to the nodes themselves. Nodes now take an optional static convertDOM(): DOMConversionMap | null.
  • When onError is not passed to createEditor({onError}) errors will now throw by default. Also, removed registerListener('error').
  • Fixed BootstrapPlugin race condition.
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