View as Markdown

API reference: @salmonui/rich-text

HtmlTextinterface

import type { HtmlText } from '@salmonui/rich-text';
interface HtmlText {
    type: 'text';
    value: string;
}

A text node; value is decoded text (never markup).

HtmlText members (2)
NameSignatureDescription
typetype: 'text';
valuevalue: string;