qds-rich-text-editor is a form-associated control for concise, structured narrative HTML. It uses a curated toolbar rather than exposing editor-library configuration to consumers.
Use qds-inline-rich-text only inside the QDS content-authoring canvas. That component has a canvas-specific commit event and is not a general-purpose form input.
<qds-rich-text-editor
name="summary"
label="Investment summary"
placeholder="Write an investment summary…"
required>
</qds-rich-text-editor>
value — Current HTML value.name — Submitted form key.label — Visible editor label.hint — Helper text shown below the editor.error-text — Error message used for validation.placeholder — Placeholder shown when empty.toolbar — basic (bold, italic, underline), narrative (default; adds links, lists, and quotations), or full (adds document formatting controls). minimal remains a compatibility alias for basic.floating-toolbar — Shows the toolbar above the page while editing, outside ancestor clipping boundaries. The toolbar follows the editor during scrolling and stays within the viewport.portable-html — Serializes semantic lists and code blocks with inline typography and alignment styles for rendering outside Quill. Content designer rich-text blocks enable this automatically.disabled — Disables interaction and excludes the editor from form submission.readonly — Displays the value without allowing edits.required — Requires non-empty text content.invalid — Forces the invalid visual and validity state.validate-on — blur (default), input, or submit.value: string — Current normalized HTML value.name: stringdisabled: booleanreadonly: booleanrequired: booleanvalidity: QdsValidityform: HTMLFormElement | nullcheckValidity()reportValidity()setCustomValidity(message)input — Fires on every user edit; detail is { component, value }.change — Fires when a changed value is committed on blur; detail is { component, value }.qds-validity-change — Fires when validity or the validation message changes.container — Complete control including label and messages.label — Label element.required — Required marker within the label.wrapper — Editor border surface.toolbar — Formatting toolbar.editor — Quill editor mount.hint — Helper text.error — Validation message.The full preset additionally exposes headings, a QDS font dialog, a QDS text
color picker, alignment, indentation, superscript, subscript, and code blocks.
The font dialog applies its selected family, size, emphasis, and text color to
the current selection. Tables, file uploads, embedded media, and footnotes are
deliberately not included in this preset.
Use the floating toolbar when the editor sits inside a constrained canvas or dialog. It preserves the text selection while using formatting controls and the QDS font and color dialogs. The toolbar appears while the editor is active; readonly and disabled controls do not expose it.
When nested in another component’s Shadow DOM, the editor preserves native text selections in Chromium and Safari, including touch formatting and caret position after typing. Escape from the toolbar returns focus to the editor.
<qds-rich-text-editor
label="Page content"
toolbar="full"
floating-toolbar>
</qds-rich-text-editor>
Existing form editors keep their inline toolbar unless floating-toolbar is
specified. Content designer rich-text blocks use the full floating toolbar
automatically.
<form>
<qds-rich-text-editor
name="committeeSummary"
label="Committee summary"
required
error-text="A committee summary is required.">
</qds-rich-text-editor>
<button type="submit">Save</button>
</form>