Meta-data on drop.

Constructors

  • Parameters

    • multipleContentDrop: boolean

      Signals, if the drop contained multiple links, to possibly trigger a different behavior on drop.

    • dropAtEndOfBlock: boolean

      Signals, if the drop position is at the end of its parent block-element.

    • dropAtStartOfBlock: boolean

      Signals, if the drop position is at the start of its parent block-element.

    • targetRange: null | default

      The target drop ranges, if existing. null otherwise.

    • selectedAttributes: [string, string | number | boolean][]

      Model attributes at drop position to possibly apply to dropped text.

    Returns DropCondition

Properties

dropAtEndOfBlock: boolean

Signals, if the drop position is at the end of its parent block-element.

dropAtStartOfBlock: boolean

Signals, if the drop position is at the start of its parent block-element.

multipleContentDrop: boolean

Signals, if the drop contained multiple links, to possibly trigger a different behavior on drop.

selectedAttributes: [string, string | number | boolean][]

Model attributes at drop position to possibly apply to dropped text.

targetRange: null | default

The target drop ranges, if existing. null otherwise.