Search results

BlockDropEventArgs API in JavaScript (ES5) Blockeditor API control

Properties

content

BlockModel | null

Specifies the block model that was dropped.

dropIndex

number

Specifies the index of the block where the drop occurred.

event

Event

Specifies the native event (e.g., mouse or drag event) that triggered the block drop action.

fromIndex

number

Specifies the index of the block from where it was dragged before the drop.

target

HTMLElement | null

Specifies the target HTML element where the block was dropped.