This is a patch release primarily to address a dev tools build regression (#7522)
Highlights
Rich Text
- ✅ #7516 Backspace now only dedents at the start of first descendant of an indented block
List
- ✅ #7504 Marker styles are now inherited on indent
Markdown
- ✅ #7499 Link transformer now explicitly adds a protocol to URLs
React
- 🆕 #7520
useBasicTypeaheadTriggerMatchpunctuation regex fragment is now configurable
Table
- ✅ #7498 TableNode DOM import now supports frozen rows and columns
Playground
- ✅ #7506 LexicalTypeaheadMenuPlugin is now positioned correctly when scrolled
- ✅ #7508 Change text capitalization keyboard shortcuts on macOS to avoid conflicts
- ✅ #7520 Emoji typeahead search now permits underscore and dashes
Dev Tools
- ✅ #7522 Vite configuration fix for devtools build
Docs
- 🆕 #7294 New NodeState documentation and example
What's Changed
- Monthly Release: v0.31.0 by @lilshady in #7502
- [lexical-table] Bug Fix: Add missing DOM import for TableNode frozen rows and columns by @Iaotle in #7498
- [lexical-markdown] Bug Fix: Link Transformer URL Protocol Handling by @AashishRichhariya in #7499
- [lexical-list] Bug Fix: Inherit marker styles when indenting list items by @kirandash in #7504
- [lexical-playground] Bug Fix: LexicalTypeaheadMenuPlugin Positioning When Scrolled by @AashishRichhariya in #7506
- [lexical][lexical-website] Documentation: Start on NodeState docs and examples by @etrepum in #7294
- [lexical-rich-text] Bug Fix: Backspace should only dedent at first descendant of indented block by @etrepum in #7516
- [lexical-playground] Bug Fix: capitalize shortcut not working in macos fix by @harshmetkel24 in #7508
- [lexical-react][lexical-playground] Bug Fix: Make typeahead punctuation configurable; allow underscores and dashes in emoji queries by @kirandash in #7520
- [lexical-devtools] Bug Fix: Update devtools vite config for process.env.LEXICAL_VERSION by @etrepum in #7522
New Contributors
- @Iaotle made their first contribution in #7498
- @AashishRichhariya made their first contribution in #7499
Full Changelog: v0.31.0...v0.31.1