v0.34.0
facebook/lexicalv0.34.0Aug 8, 2025by etrepum
AI Summary
Monthly release with experimental Shiki-based code highlighter, context menu icons, DateTime plugin, and various bug fixes.
Key Highlights
- Experimental Shiki support for code highlighting
- Context Menu icons added
- DateTime plugin for playground
- Bug fixes for selection, collaboration, images
New Features
- Experimental Shiki support for code highlighting (@lexical/code-shiki)
- Context Menu icons
- DateTime plugin
- Parse font sizes in pt as well as px
Full Release Notes
v0.34.0 is a monthly release with several bug fixes and a new experimental Shiki based code highlighter engine for `@lexical/code` (the existing prismjs highlighter is still the default) ## Highlights Core: - ✅ #7724 Fix trigger of reconciliation on nested editor.read - ✅ #7725 Clamp DOM selection offsets to valid lexical TextNode offsets in `$internalResolveSelectionPoint` Code: - 🆕 #7662 Experimental Shiki support for code highlighting Selection: - ✅ #7686 Correct backward inversion for RTL Utils: - ✅ #7737 Backwards selection was not being retained React: - ✅ #7705 Clean up old mouseup events from context menu - 🆕 #7697 Context Menu icons - ✅ #7723 Prevent race condition in CollaborationPlugin during rapid mount/unmount cycles Playground: - ✅ #7693 Image links lose link state when dragged - 🆕 #7719 Parse font sizes in pt as well as px in `parseAllowedFontSize` - ✅ #7707 DateTime plugin ## What's Changed * v0.33.1 by @etrepum in https://github.com/facebook/lexical/pull/7684 * [lexical-selection] Bug Fix: Correct backward inversion for RTL by @noamzaks in https://github.com/facebook/lexical/pull/7686 * [lexical-code][lexical-code-shiki][lexical-markdown][lexical-playground][lexical-devtools] Feature: Experimental Shiki support for code highlighting by @jeromew in https://github.com/facebook/lexical/pull/7662 * [lexical-react] Clean up old mouseup events from context menu by @ivailop7 in https://github.com/facebook/lexical/pull/7705 * [lexical-react] feat: Context Menu icons by @ivailop7 in https://github.com/facebook/lexical/pull/7697 * [lexical-website][docs] Documentation Update: Fix typo by @JTRNS in https://github.com/facebook/lexical/pull/7713 * [lexical-playground]Bug Fix: Image links lose link state when dragged by @lilshady in https://github.com/facebook/lexical/pull/7693 * Fix trigger reconcilation on nested read by @zurfyx in https://github.com/facebook/lexical/pull/7724 * [lexical] Bug Fix: Clamp DOM selection offsets to valid lexical TextNode offsets in $internalResolveSelectionPoint by @etrepum in https://github.com/facebook/lexical/pull/7725 * [lexical-react] Bug Fix: prevent race condition in CollaborationPlugin during rapid mount/unmount cycles by @tobiasandersen in https://github.com/facebook/lexical/pull/7723 * [lexical-playground] Bug Fix: include font sizes in pt as well in parseAllowedFontSize by @harshmetkel24 in https://github.com/facebook/lexical/pull/7719 * Fix Key Arrow Down Documentation by @zamorai in https://github.com/facebook/lexical/pull/7733 * [lexical-utils] fix: Backward selection was not being retained by @jvithlani in https://github.com/facebook/lexical/pull/7737 * [lexical-playground] DateTime Plugin by @ivailop7 in https://github.com/facebook/lexical/pull/7707 * [lexical-examples] Bug Fix: missing dependency @lexical/utils at examples/react-rich-collab by @debuggingfuture in https://github.com/facebook/lexical/pull/7743 * [*] Chore: Add a post-release action to update the examples by @etrepum in https://github.com/facebook/lexical/pull/7744 * Update examples for v0.33.1 by @etrepum in https://github.com/facebook/lexical/pull/7745 ## New Contributors * @JTRNS made their first contribution in https://github.com/facebook/lexical/pull/7713 * @tobiasandersen made their first contribution in https://github.com/facebook/lexical/pull/7723 * @zamorai made their first contribution in https://github.com/facebook/lexical/pull/7733 * @debuggingfuture made their first contribution in https://github.com/facebook/lexical/pull/7743 **Full Changelog**: https://github.com/facebook/lexical/compare/v0.33.1...v0.34.0