# BlockEditorBlockLocation (@salmonui/rich-text)

> The BlockEditorBlockLocation interface of @salmonui/rich-text: Where a block is: parent block id (null at the top level) and index among its siblings.

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

```ts
import type { BlockEditorBlockLocation } 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 BlockEditorBlockLocation {
    readonly parentId: string | null;
    readonly index: number;
}
```

Where a block is: parent block id (null at the top level) and index among its siblings.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `parentId` | `readonly parentId: string \| null;` |  |  |
| `index` | `readonly index: number;` |  |  |
