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 #7684
- [lexical-selection] Bug Fix: Correct backward inversion for RTL by @noamzaks in #7686
- [lexical-code][lexical-code-shiki][lexical-markdown][lexical-playground][lexical-devtools] Feature: Experimental Shiki support for code highlighting by @jeromew in #7662
- [lexical-react] Clean up old mouseup events from context menu by @ivailop7 in #7705
- [lexical-react] feat: Context Menu icons by @ivailop7 in #7697
- [lexical-website][docs] Documentation Update: Fix typo by @JTRNS in #7713
- [lexical-playground]Bug Fix: Image links lose link state when dragged by @lilshady in #7693
- Fix trigger reconcilation on nested read by @zurfyx in #7724
- [lexical] Bug Fix: Clamp DOM selection offsets to valid lexical TextNode offsets in $internalResolveSelectionPoint by @etrepum in #7725
- [lexical-react] Bug Fix: prevent race condition in CollaborationPlugin during rapid mount/unmount cycles by @tobiasandersen in #7723
- [lexical-playground] Bug Fix: include font sizes in pt as well in parseAllowedFontSize by @harshmetkel24 in #7719
- Fix Key Arrow Down Documentation by @zamorai in #7733
- [lexical-utils] fix: Backward selection was not being retained by @jvithlani in #7737
- [lexical-playground] DateTime Plugin by @ivailop7 in #7707
- [lexical-examples] Bug Fix: missing dependency @lexical/utils at examples/react-rich-collab by @debuggingfuture in #7743
- [*] Chore: Add a post-release action to update the examples by @etrepum in #7744
- Update examples for v0.33.1 by @etrepum in #7745
New Contributors
- @JTRNS made their first contribution in #7713
- @tobiasandersen made their first contribution in #7723
- @zamorai made their first contribution in #7733
- @debuggingfuture made their first contribution in #7743
Full Changelog: v0.33.1...v0.34.0