# BlockEditorBlockMoveEvent (@salmonui/rich-text)

> The BlockEditorBlockMoveEvent interface of @salmonui/rich-text: onBlockMove.

Canonical: https://salmonui.dev/docs/reference/rich-text/BlockEditorBlockMoveEvent

```ts
import type { BlockEditorBlockMoveEvent } from '@salmonui/rich-text';
```

Entry index: https://salmonui.dev/docs/reference/rich-text (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/rich-text.md).

## Reference

Kind: interface

```ts
interface BlockEditorBlockMoveEvent {
    readonly block: Block;
    readonly from: BlockEditorBlockLocation;
    readonly position: BlockPosition;
    readonly source: 'pointer' | 'keyboard' | 'api';
}
```

`onBlockMove`.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `block` | `readonly block: Block;` |  |  |
| `from` | `readonly from: BlockEditorBlockLocation;` |  |  |
| `position` | `readonly position: BlockPosition;` |  |  |
| `source` | `readonly source: 'pointer' \| 'keyboard' \| 'api';` |  |  |
