Search results

BlockMovedEventArgs API in JavaScript (ES5) Blockeditor API control

Properties

content

BlockModel | null

Specifies the block model that was moved.

index

number

Specifies the new index of the block after it was moved.

isInteracted

boolean

Indicates whether the user directly interacted with the block (e.g., moving it manually). If false, the block was moved programmatically.

parentID

string

Specifies the ID of the parent block where the block was moved to.

previousIndex

number

Specifies the previous index of the block before it was moved.

previousParentID

string

Specifies the ID of the parent block from which the block was moved.