# BlockPosition (@salmonui/rich-text)

> The BlockPosition type of @salmonui/rich-text: Where blocks go in the insert and move helpers.

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

```ts
import type { BlockPosition } 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: type

```ts
type BlockPosition = {
    before: string;
} | {
    after: string;
} | {
    parent: string;
    index?: number;
};
```

Where blocks go in the insert and move helpers.
