github udecode/plate @udecode/plate-slash-command@34.0.0

latest releases: @udecode/plate-markdown@40.0.5, @udecode/plate@40.0.5, @udecode/plate-ai@40.0.5...
5 months ago

Major Changes

  • #3168 by @12joan
    • Now uses the reworked combobox package
    • ELEMENT_SLASH_INPUT is now an inline void element, and combobox functionality must now be handled in the component
    • Replaced all plugin options with those extended from TriggerComboboxPlugin
      • Removed createSlashNode
      • Removed id (no longer needed)
      • Removed inputCreation (see createComboboxInput)
      • Renamed query to triggerQuery (provided by TriggerComboboxPlugin)
      • Removed rules: Slash command rules must now be provided in the component
    • Removed queries and transforms relating to the slash input:
      • findSlashInput
      • isNodeSlashInput
      • isSelectionInSlashInput
      • removeSlashInput
    • Removed withSlashCommand (no longer needed)
    • Removed slashOnKeyDownHandler (no longer needed)
    • Removed getSlashOnSelectItem: This should now be handled in the component

Don't miss a new plate release

NewReleases is sending notifications on new releases.