InlineNode

A compiled inline item as the text helpers read it: a text run, a bound expression, or a micronode.

@internote/canvas-sdkInterface
On this page
import { InlineNode } from '@internote/canvas-sdk';

#Fields

attributes
The micronode's own attributes, already refined.
Array<{ identifier: string; value: unknown }>
body
What the micronode wraps: further inline content, or a string.
unknown
content
The characters, on a text run.
string
identifier
The micronode's name, such as bold, latex or a hue.
string
type
'text' for a plain run, 'expression' for a bound {{…}} value, absent for a micronode.
string

Declared in packages/canvas-sdk/src/text/index.ts:31.

Last updated