FORM
Editor
Editor combines rich text entry, formatting commands, validation feedback, and portable string binding in one authored control.
PLAYGROUND
Draft a release article
The toolbar exposes formatting, headings, alignment, lists, links, history, and clear formatting while bind keeps the authored value in a string Signal.
signal articleContent value:""
Editor bind:articleContent label:"Release article" placeholder:"Explain what changed, why it matters, and how teams can adopt it." minHeight:320 hideToolbar:false helpText:"Use headings for sections and lists for migration steps." variant:"outlined" scheme:"primary" size:"lg" name:"release-article"AUTHORING MODES
Match the editing surface to the task
A compact editor keeps short responses focused. A read-only editor preserves the same content surface for review.
Editor value:"Thanks for the detailed report." label:"Support reply" minHeight:140 hideToolbar:true variant:"soft" scheme:"secondary" size:"sm"
Editor value:"The deployment completed successfully." label:"Deployment summary" minHeight:180 readonly:true variant:"line" scheme:"success" size:"md"STATES
Keep constraints close to the content
Use errorText for actionable validation and disabled when the complete editing workflow is unavailable.
BEHAVIOR
One command model across targets
Dowe owns toolbar commands, keyboard shortcuts, editor state, and generated target behavior without executing user-authored JavaScript.
VALUE
String binding
bind reads and writes one string Signal while value provides deterministic initial content.
COMMANDS
Generated toolbar
Formatting, lists, headings, alignment, insertion, history, and clearing remain Dowe-owned.
TARGETS
Native editing
Web, SwiftUI, and Compose preserve the toolbar, content surface, feedback, and read-only state.
API
Props
Editor also accepts the applicable common spacing, sizing, visibility, accessibility, and shadow props.
Prop | Type | Default |
|---|---|---|
No dataThere are no records to display | ||