Skip to main content

CnTextWidget

Multi-line rich-text / markdown widget with optional table mode (sanitised HTML).

Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.

Reference

Props

NameTypeRequiredDefaultDescription
content{text: string, fontSize: string, color: string, backgroundColor: string, textAlign: string, contentMode: string, tableMode: boolean, tableData: object}\{\}Persisted widget content blob: {text, fontSize, color, backgroundColor, textAlign, contentMode, tableMode, tableData}. All keys are optional; missing keys collapse to documented defaults.