CnMarkdownWidgetForm
Config sub-form for the markdown (CnMarkdownWidget) widget: one labelled text area. Drives CnAddWidgetModal and the cog style editor.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
editingWidget | object|null | null | The placement being edited, or null in create mode. |
value | object | {} | Initial content values when not editing. |
Events
| Event | Payload | Description |
|---|---|---|
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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
editingWidget | {content: object}|null | null | The placement being edited (pre-fills from editingWidget.content), or null in create mode. | |
value | object | \{\} | Initial content values when not editing (registry defaults). |
Events
| Name | Payload | Description |
|---|---|---|
update:content | — | Emitted with the assembled content blob on every change. |