API reference: @salmonui/rich-text
BlockPositiontype
import type { BlockPosition } from '@salmonui/rich-text';type BlockPosition = {
before: string;
} | {
after: string;
} | {
parent: string;
index?: number;
};
Where blocks go in the insert and move helpers.