github udecode/plate @udecode/plate-selection@37.0.0

latest releases: @udecode/plate-common@38.0.4, @udecode/slate-utils@38.0.4, @udecode/slate@38.0.4...
20 days ago

Major Changes

  • #3420 by @zbeyens
    • Rename createSelectionPlugin to BlockSelectionPlugin
    • Remove isNodeBlockSelected, isBlockSelected, hasBlockSelected, useBlockSelected functions
      • Use editor.getOptions(BlockSelectionPlugin) or editor.useOptions(BlockSelectionPlugin) instead
    • Remove addSelectedRow function
      • Use editor.api.blockSelection.addSelectedRow instead
    • Remove withSelection HOC
    • Rename onCloseBlockSelection to onChangeBlockSelection
    • Moved blockSelectionStore to BlockSelectionPlugin
    • Moved blockContextMenuStore to BlockContextMenuPlugin
    • Remove BlockStartArea and BlockSelectionArea components
      • Use areaOptions in BlockSelectionPlugin for configuration instead
    • Remove dependency on @viselect/vanilla package
      • Forked and integrated selection functionality locally
    • Add BlockContextMenuPlugin, which is now used by BlockSelectionPlugin
      • No need to add it manually
    • Fix scroll-related bugs in the selection functionality
    • Improve performance and reliability of block selection

Don't miss a new plate release

NewReleases is sending notifications on new releases.