Search results

BlockMovedEventArgs API in React Blockeditor API component

Properties

blocks

BlockModel[]

Specifies the block models 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 blocks before it was moved.

previousParentID

string[]

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