API reference: @salmonui/rich-text
BlockEditorBlockLocationinterface
import type { BlockEditorBlockLocation } from '@salmonui/rich-text';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.
| Name | Signature | Description |
|---|---|---|
parentId | readonly parentId: string | null; | |
index | readonly index: number; |