New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lexical/code

Package Overview
Dependencies
Maintainers
0
Versions
291
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/code - npm Package Versions

0.1.17

Diff
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