Skip to main content

CnMarkdownWidgetForm

Config sub-form for the markdown (CnMarkdownWidget) widget: one labelled text area. Drives CnAddWidgetModal and the cog style editor.

Props​

PropTypeDefaultDescription
editingWidgetobject|nullnullThe placement being edited, or null in create mode.
valueobject{}Initial content values when not editing.

Events​

EventPayloadDescription
update:content{ markdown }Emitted on every change.

validate() requires some text.

OpenRegister reliance​

none: this component does not touch OpenRegister, directly or through anything it imports. 0 direct references, 0 files reached through imports.

See the reliance overview for the filterable list.

Props​

NameTypeRequiredDefaultDescription
editingWidget{content: object}|nullnullThe placement being edited (pre-fills from editingWidget.content), or null in create mode.
valueobject\{\}Initial content values when not editing (registry defaults).

Events​

NamePayloadDescription
update:content—Emitted with the assembled content blob on every change.