v0.32.0

facebook/lexicalv0.32.0Jun 3, 2025by lilshady

AI Summary

Lexical v0.32.0 is a minor release with significant UX improvements including VSCode-like Tab/Indent/Outdent behavior, FloatingUI Context Menu support, and Apple Pencil support, along with various bug fixes across lists, tables, links, and markdown handling.

Key Highlights

  • Improved Tab/Indent/Outdent behavior to match VSCode
  • Added FloatingUI Context Menu in the playground
  • Added Apple Pencil support for drawing input
  • Fixed unbulleting images in selection
  • Added flow export type for LexicalUpdateTags

New Features

  • Feature: Improve Tab/Indent/Outdent to match VSCode (#7573)
  • Feature: Add flow export type for LexicalUpdateTags (#7593)
  • Feature: FloatingUI Context Menu (#7509)
  • Feature: allow whitespaces in search keyword in useBasicTypeaheadTriggerMatch (#7584)
  • Feature: Move URL formatting to LinkNode sanitizeUrl (#7585)
  • Refactor: simplify ExcalidrawModal (#7590)

Full Release Notes

## Highlights

Core

- βœ… #7544 2 Tabs on single line selection should indent
- πŸ†• #7573 Feature: Improve Tab/Indent/Outdent to match VSCode
- βœ… #7568 unbulleting an image doesn't work #5698 ([lexical-selection][lexical-playground])
- πŸ†• #7593  Type: Add flow export type for LexicalUpdateTags

Playground

- βœ… #7556  Change list, strikethrough and quoteblock shortcuts to match Google Docs for Windows compatibility
- βœ… #7545  Support Apple Pencil
- πŸ†• #7567 Chore: source command priority from package
- βœ… #7572 Preserve row striping in frozen table columns
- βœ… #7568 unbulleting an image doesn't work #5698
- βœ… #7558 Made checklist icon fully scalable, clickable, and properly spaced at large font sizes
- πŸ†• #7590 Refactor: simplify ExcalidrawModal
- πŸ†• #7509 FloatingUI Context Menu
- πŸ†• #7596 Chore: source command priority from package

Markdown
- βœ… #7560 Link Transformer URL Protocol Han…
- βœ… #7564 Prevent transform from removing nodes if the replace function returns false
- βœ… #7594  Don't select nodes when importing

React

- βœ… #7589 page freezes when typing a link in an overflow area
- πŸ†• #7584 Feature: allow whitespaces in search keyword in useBasicTypeaheadTriggerMatch 

Website

- βœ… #7569  fix documentation typos
- βœ… #7574 Fix docusaurus build by adding removeLegacyPostBuildHeadAttribute flag

--- 

## What's Changed
* v0.31.2 by @etrepum in https://github.com/facebook/lexical/pull/7550
* Revert "[lexical-markdown] Bug Fix: Link Transformer URL Protocol Han… by @zurfyx in https://github.com/facebook/lexical/pull/7560
* [lexical-playground] Bug Fix: Change list, strikethrough and quoteblock shortcuts to match Google Docs for Windows compatibility by @harshmetkel24 in https://github.com/facebook/lexical/pull/7556
* [lexical-code] Bug Fix: 2 Tabs on single line selection should indent by @jeromew in https://github.com/facebook/lexical/pull/7544
* [lexical-list] Bug Fix: Removed the hardcoded checkbox width in checklist onclick helper by @jvithlani in https://github.com/facebook/lexical/pull/7559
* [lexical][lexical-playground] Bug Fix: Support Apple Pencil by @circlingthesun in https://github.com/facebook/lexical/pull/7545
* [lexical-markdown] Bug fix: Prevent transform from removing nodes if the replace function returns false by @rodrigomotion in https://github.com/facebook/lexical/pull/7564
* [lexical-website] Chore: fix documentation typos by @noritaka1166 in https://github.com/facebook/lexical/pull/7569
* [lexical-playground] Chore: source command priority from package by @eliottvincent in https://github.com/facebook/lexical/pull/7567
* [lexical-playground] Bug Fix: Preserve row striping in frozen table columns by @kirandash in https://github.com/facebook/lexical/pull/7572
* [Update] Fix docusaurus build by adding removeLegacyPostBuildHeadAttribute flag by @lilshady in https://github.com/facebook/lexical/pull/7574
* [lexical-selection][lexical-playground] Bug Fix: unbulleting an image doesn't work #5698 by @kamilpitula in https://github.com/facebook/lexical/pull/7568
* [lexical-playground][lexical-list] Bug Fix: Made checklist icon fully scalable, clickable, and properly spaced at large font sizes by @swrsaini in https://github.com/facebook/lexical/pull/7558
* [lexical-table] Bug Fix: error when deleting multiple rows with merged row cells by @kamilpitula in https://github.com/facebook/lexical/pull/7582
* [lexical-link] Feature: Move URL formatting from #7499 to LinkNode sanitizeUrl by @etrepum in https://github.com/facebook/lexical/pull/7585
* [lexical-react][lexical-playground] FloatingUI Context Menu by @ivailop7 in https://github.com/facebook/lexical/pull/7509
* [lexical-playground] Refactor: simplify ExcalidrawModal by @thorn0 in https://github.com/facebook/lexical/pull/7590
* [lexical-react] Bug Fix: page freezes when typing a link in an overflow area by @kamilpitula in https://github.com/facebook/lexical/pull/7589
* [lexical-react][lexical-playground] Feature: allow whitespaces in search keyword in useBasicTypeaheadTriggerMatch  by @harshmetkel24 in https://github.com/facebook/lexical/pull/7584
* [lexical-code] Feature: Improve Tab/Indent/Outdent to match VSCode by @jeromew in https://github.com/facebook/lexical/pull/7573
* [Lexical] Type: Add flow export type for `LexicalUpdateTags ` by @ttzztztz in https://github.com/facebook/lexical/pull/7593
* [lexical-playground][lexical-rich-text][lexical-website][tests][examples] Chore: source command priority from package by @eliottvincent in https://github.com/facebook/lexical/pull/7596
* [lexical-markdown] Bug Fix: Don't select nodes when importing by @juusolain in https://github.com/facebook/lexical/pull/7594

## New Contributors
* @jeromew made their first contribution in https://github.com/facebook/lexical/pull/7544
* @circlingthesun made their first contribution in https://github.com/facebook/lexical/pull/7545
* @rodrigomotion made their first contribution in https://github.com/facebook/lexical/pull/7564
* @noritaka1166 made their first contribution in https://github.com/facebook/lexical/pull/7569
* @eliottvincent made their first contribution in https://github.com/facebook/lexical/pull/7567
* @kamilpitula made their first contribution in https://github.com/facebook/lexical/pull/7568
* @swrsaini made their first contribution in https://github.com/facebook/lexical/pull/7558
* @ttzztztz made their first contribution in https://github.com/facebook/lexical/pull/7593
* @juusolain made their first contribution in https://github.com/facebook/lexical/pull/7594

**Full Changelog**: https://github.com/facebook/lexical/compare/v0.31.2...v0.32.0