v0.19.0
Highlights
Highlights since v0.18.0
A11y:
Clipboard:
- 🆕 Trust HTML for rich text clipboard
#6755
Markdown:
- 🆕 Add ability to hook into the import process for multiline element transformers
#6682
Code:
- ✅ Fix: Add global type declarations for Prism
#6736
Export:
- ✅ Fix: Preserve indentation when serializing to and from HTML
#6693
List:
- ✅ Fix: Retain indentation when list format is removed and reapplied
#6684
Link:
- 🆕 add attributes in LinkPlugin
#6760
Selection:
-
✅ Fix: Insertion into inline ElementNode should not crash
#6703 -
✅ Fix: lines were being deleted with deleteLine
#6719
Text:
- ✅ Fix TextNode in token mode should not be split by removeText
#6690
Collab:
-
✅ Fix missing setLocalStateField method to ProviderAwareness type
#6683 -
✅ Fix: preserve custom fields in Lexical-Yjs sync
#6724
Table:
-
🆕 Support backward selection in rows deletion
#6680 -
✅ Fix: Style buttons in toolbar respect table selection
#6678 -
✅ Fix Table formatting when no TextNodes present
#6675 -
✅ Fix: colWidths not imported from DOM for TableNode
#6731 -
✅ Fix: Shift+down selects an extra subsequent element for Table selection
#6679 -
🆕 Inserted node returned from $insertTableRow__EXPERIMENTAL and $insertTableColumn__EXPERIMENTAL
#6741 -
✅ Fix calling split on undefined error
#6746
What's Changed
- v0.18.0 by @potatowagon in #6676
- Support backward selection in rows deletion by @fantactuka in #6680
- [lexical-table][lexical-playground] Bug Fix: Make style buttons in toolbar respect table selection by @KatsiarynaDzibrova in #6678
- [lexical] Bug Fix: Fix Table formatting when no TextNodes present by @KatsiarynaDzibrova in #6675
- [lexical-yjs] Bug Fix: Add missing setLocalStateField method to ProviderAwareness type by @collierrgbsitisfise in #6683
- [lexical] Bug Fix: TextNode in token mode should not be split by removeText by @etrepum in #6690
- [lexical-playground] 3 Bug Fixes, 1 UX Improvement: All Regarding Excalidraw Node by @neysanfoo in #6666
- [lexical-playground] Bug Fix: toolbar font size input keyboard accessibility by @rilrom in #6695
- [lexical-playground] Bug Fix: Track Resizing Actions for Excalidraw in History Stack by @neysanfoo in #6696
- [lexical] Bug Fix: Insertion into inline ElementNode should not crash by @etrepum in #6703
- [lexical][lexical-list] Bug Fix: Retain indentation when list format is removed and reapplied by @SeaBa55 in #6684
- [lexical][lexical-list][lexical-rich-text]: Fix: Preserve indentation when serializing to and from HTML by @GermanJablo in #6693
- fix: preserve custom fields in Lexical-Yjs sync by @collierrgbsitisfise in #6724
- [lexical-playground] Remove unused command by @ivailop7 in #6726
- [lexical-playground] Bug Fix: match toolbar font size input with the rest of toolbar items in Read-Only mode by @bedre7 in #6698
- Chore: add workflow to auto close stale pr based on label by @potatowagon in #6732
- [lexical-table] Bug Fix:
colWidths
not imported from DOM for TableNode by @cwstra in #6731 - [lexical] Bug Fix: lines were being deleted with
deleteLine
by @taro-shono in #6719 - [lexical-playground] Table Hover Actions Layout Fixes by @ivailop7 in #6725
- [*] Chore: Disable react-beta test job for now by @etrepum in #6738
- [lexical-code] Bug Fix: Add global type declarations for Prism by @etrepum in #6736
- [lexical-playground] Bug Fix: Disable image and inline focusing, adding caption and editing in read-only mode by @neysanfoo in #6705
- [lexical-markdown] Feature: add ability to hook into the import process for multiline element transformers by @AlessioGr in #6682
- [lexical-playground] Bug Fix: Disable equation editing in read-only mode by @neysanfoo in #6707
- Bug Fix: Shift+down selects an extra subsequent element for Table selection by @KatsiarynaDzibrova in #6679
- [lexical-table] Return inserted node from
$insertTableRow__EXPERIMENTAL
and$insertTableColumn__EXPERIMENTAL
by @amanharwara in #6741 - [lexical-react] Feature: Add aria-errormessage and aria-invalid support to LexicalContentEditable by @ejhammond in #6745
- Add ariaErrorMessage and ariaInvalid to Flow type by @ejhammond in #6751
- [lexical-table] [lexical-selection] Try to fix calling split on undefined by @ivailop7 in #6746
- [lexical-playground] Bug Fix: Disable table hover actions in read-only mode by @neysanfoo in #6706
- [lexical-playground] Bug Fix: Disable editing of Excalidraw Component in Read-Only Mode by @neysanfoo in #6704
- Trust HTML for rich text clipboard by @zurfyx in #6755
- [lexical-react] replace abstract component by @potatowagon in #6752
- [lexical-react] Feature: add attributes in LinkPlugin by @taro-shono in #6760
- [lexical] Add missing commands to Lexical.js.flow by @potatowagon in #6769
- update dependencies to address security vulnerabilities by @potatowagon in #6764
New Contributors
- @collierrgbsitisfise made their first contribution in #6683
- @rilrom made their first contribution in #6695
- @SeaBa55 made their first contribution in #6684
- @bedre7 made their first contribution in #6698
- @cwstra made their first contribution in #6731
- @taro-shono made their first contribution in #6719
- @ejhammond made their first contribution in #6745
Full Changelog: v0.18.0...v0.19.0