CodeBlockFocusSnapshot
Where the focus was inside a rendered code block.
Import:
import type { CodeBlockFocusSnapshot } from '@mnaoumov/obsidian-lib/code-block-render-handoff';Signature:
export interface CodeBlockFocusSnapshotProperties
| Property | Type | Description |
|---|---|---|
| childIndexPath | readonly number[] | The child indices leading from the code block element to the focused element. |
| selection | null | TextSelection | The text selection of a focused input or text area. |
Links to this page: