github facebook/lexical v0.20.0

latest release: v0.20.1-nightly.20241108.0
18 hours ago

Highlights

Highlights since v0.19.0

Lexical Core:

  • 🆕 $onUpdate to add an "onUpdate" callback while processing an editor.update
    #6773

Markdown:

  • 🆕 Add ability to control finding the end of a node matched by TextMatchTransformer
    #6681
  • ✅ Avoid infinite markdown shortcut matchers
    #6778

Collab / Yjs:

  • ✅ Clean up dangling text after undo in collaboration
    #6670

Playground & Docs:

  • 🆕 Demonstrate how to preserve more styles when pasting HTML
    #6780
    #6770
  • 🆕 Add more keyboard shortcuts
    #6754

What's Changed

  • [lexical] Feature: Add onUpdate function during update with $onUpdate (correct baselline) by @landisdesign in #6773
  • #6768 fix to avoid infinite markdown shortcut matchers run by @fantactuka in #6778
  • [lexical-playground] Fix: the placement of the fontSize button in the ToolbarPlugin and hide the vertical scroll (Bug Fix) by @vantage-ola in #6786
  • Bug Fix: ContextMenu Paste option not preserving style by @citruscai in #6780
  • [lexical-website] Chore: upgrade to Docusaurus v3.6 - Docusaurus Faster by @slorber in #6761
  • [lexical-react] Bug Fix: LexicalTypeaheadMenuPlugin SSR error: ReferenceError: document is not defined by @bedre7 in #6794
  • [lexical-markdown] Feature: add ability to control finding the end of a node matched by TextMatchTransformer by @AlessioGr in #6681
  • [Lexical-website] BugFix: Change button text colour to improve visibility by @Shopiley in #6796
  • [lexical-yjs] Bug Fix: clean up dangling text after undo in collaboration by @mike-atticus in #6670
  • [lexical-website] Documentation Update: Add Documentation for html Property in Lexical Editor Configuration by @Kingscliq in #6770
  • [lexical-playground] Feature: Add more keyboard shortcuts by @bedre7 in #6754
  • Fix importDOM for Layout plugin by @ivailop7 in #6799
  • Add optional selection argument to $getHtmlContent flow type by @rajivanisetti in #6803
  • [lexical] Chore: Add export of DOMExportOutputMap from lexical by @Kingscliq in #6805

New Contributors

Full Changelog: v0.19.0...v0.20.0

Don't miss a new lexical release

NewReleases is sending notifications on new releases.