Skip to content

v0.21.0

Latest
Compare
Choose a tag to compare
@potatowagon potatowagon released this 02 Dec 16:30
· 27 commits to main since this release

Breaking Changes

  • πŸ†• Deprecate $nodesOfType function
    #6855

  • πŸ†• Feature: Scrollable tables with experimental getDOMSlot API
    #6759

  • βœ… Fix get table-cell background selection color from a class
    #6658
    Example change would be #6892

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
  • v0.20.2 by @potatowagon in #6891
  • Fix selected table colors by @zurfyx in #6892
  • [lexical-table] Bug Fix: TableNode exportDOM fixes for partial table selection by @etrepum in #6889

New Contributors

Full Changelog: v0.20.0...v0.21.0