v0.20.2
Highlights
Highlights since v0.20.0
Core editor:
-
π skipInitialization defaults to false for registerMutationListener
#6857 -
π Deprecate $nodesOfType function
#6855 -
β Fix backspace bug when deleting nodes with canInsertTextAfter set to false
#6268 -
π Add missing flow types for utils
#6841 -
β Fix: Add feature detection to calculateZoomLevel
#6864 -
β Fix: Allow setEditorState to work correctly inside of an update (Fixes Autocomplete plugin)
#6876
React:
-
β Fix: Prevent initial value fn to be called on rerender
#6835 -
π ContentEditable Props type rename to ContentEditableProps
#6837
Link:
- π Add missing flow types
#6833
Table:
- π Feature: Scrollable tables with experimental getDOMSlot API
#6759 - β
Fix down arrow key handling in TableObserver
#6839 - β
Fix Resolve table selection issue when the mouse crosses over a portal
#6834 - β
Fix get table-cell background selection color from a class
#6658 - β
Fix left arrow key handling for table selection
#6875 - β
Fix table tab navigation
#6880 - β
Fix scrollable table exportDOM
#6884
i8n:
- β
Fix: workaround for Korean IME issue on iOS
#6819
A11y:
- β
Fix: Aria attributes for ContentEditable are ignored
#6814
Mention:
- π Mention nodes are no longer spellchecked
#6788
List:
- β
Fix: Handle appending inline element nodes in ListNode.append
#6791
Mark:
- β
Fix: Donβt deep copy mark node ids in clone to prevent redundant change detection in syncPropertiesFromYjs
#6810
Selection:
-
π New plugin to retain selection: SelectionAlwaysOnDisplay plugin
#6872 -
β Fix: positionNodeOnRange fixes
#6873
What's Changed
- v0.20.0 by @etrepum in #6809
- [lexical-mark] Bug Fix: Stop MarkNode __ids array deep copy in clone by @ebads67 in #6810
- [lexical-list] Bug Fix: Handle appending inline element nodes in ListNode.append by @amanharwara in #6791
- Mention nodes shouldn't be spellcheck'd :) by @sevki in #6788
- Fix: Aria attributes for ContentEditable are ignored by @vantage-ola in #6814
- [lexical-rich-text][lexical-plain-text] workaround for Korean IME issue on iOS by @2wheeh in #6819
- [lexical][lexical-table] Feature: Scrollable tables with experimental getDOMSlot API by @etrepum in #6759
- [lexical-examples] Chore: Add DOMExportOutputMap type to the exportMap by @Kingscliq in #6827
- Link flow types by @zurfyx in #6833
- Prevent initial value fn to be called on rerender by @fantactuka in #6835
- [lexical-table] Bug Fix: Fix down arrow key handling in TableObserver by @etrepum in #6839
- [lexical-link] Test: Removing link from node(children) by @vantage-ola in #6817
- [lexical-react] Fix(lexical-react): ContentEditable props type rename by @ivaaaaann in #6837
- [lexical-utils] Bug Fix: Add missing Flow type declarations by @hadiham in #6841
- Table Action Menu - fix UI issue with Merge Cells item by @umaranis in #6830
- [*] Chore: npm upgrade cross-spawn by @potatowagon in #6848
- [lexical-link] Test: Appending inline element nodes to ListNode by @Shopiley in #6826
- [Lexical] Bug Fix: backspace bug when deleting nodes with
canInsertTextAfter
set to false by @dani-lp in #6268 - Feature: Deprecate $nodesOfType function by @Sachin-Mahato in #6855
- [tests] npm upgrade cross-spawn by @potatowagon in #6856
- [Lexical] Chore: Update default skipInitialization to false for registerMutationListener by @Shopiley in #6857
- [lexical-table] Bug Fix: Resolve table selection issue when the mouse crosses over a portal by @etrepum in #6834
- [lexical-table] Bug Fix: get table-cell background selection color from a class by @hamza221 in #6658
- [lexical-selection] Bug Fix: Wrong selection type in $setBlocksType by @lytion in #6867
- Add Documentation for RootNode's semantic and use case by @citruscai in #6869
- [lexical-utils] Bug Fix: Add feature detection to calculateZoomLevel by @etrepum in #6864
- [lexical-playground] Bug Fix: autocomplete format before and after insertion by @bedre7 in #6845
- [lexical-playground] Bug Fix: Preserve the selection using the link editor from a table by @etrepum in #6865
- Allow passing params to run-all by @zurfyx in #6874
- Add SelectionAlwaysOnDisplay plugin by @zurfyx in #6872
- positionNodeOnRange fixes by @zurfyx in #6873
- [lexical-table] Bug Fix: Fix left arrow key handling for table selection by @etrepum in #6875
- [lexical-playground] Fix: Hidden comment button on narrow screens or vertical monitors by @vantage-ola in #6871
- [lexical-playground] Feature: Highlight special strings with format by @citruscai in #6860
- [lexical-table] Bug Fix: Fix table tab navigation by @etrepum in #6880
- [lexical-table] Bug Fix: Fix scrollable table exportDOM by @etrepum in #6884
- v0.20.1 by @potatowagon in #6887
- [lexical-playground] Fix CSS property by @ivailop7 in #6886
- [lexical][lexical-playground] Bug Fix: Allow setEditorState to work correctly inside of an update by @etrepum in #6876
- [lexical-website] Feature: Document the withKlass option for node replacement by @Shopiley in #6890
New Contributors
- @sevki made their first contribution in #6788
- @ivaaaaann made their first contribution in #6837
- @hadiham made their first contribution in #6841
- @dani-lp made their first contribution in #6268
- @Sachin-Mahato made their first contribution in #6855
- @hamza221 made their first contribution in #6658
- @lytion made their first contribution in #6867
Full Changelog: v0.20.0...v0.20.2