Appearance
Rich Content — wd-rich-content
Category: Content · Tag:
wd-rich-contentBack to: Components overview
What it does
Renders a block of rich HTML that you author in a WYSIWYG editor — headings, paragraphs, lists, links, images, formatting, etc. Use it when you want a chunk of formatted content without hand-building each element.
Adding it & its settings
Add Component → Content → Rich Content.
Basic Settings (all components): #id, Classes, Inline Style.
Component Settings:
| Setting | Type | Effect |
|---|---|---|
| Content | rich‑text editor | The formatted HTML to display. Write and format it in the editor; the component renders exactly that markup. |
Content & slots
- No slot — the content comes from the Content setting (not from child elements).
Styling
Rich Content exposes no CSS variables and no ::part() — the content you author carries its own formatting (the editor produces styled HTML). To adjust its appearance, format it in the editor, or include the desired inline styles/classes in the authored content.
Because the component renders in Shadow DOM, page-level CSS does not reach inside it; rely on the editor's formatting (and any inline styles in the content) for its look.