Skip to content

HTML Editor

WYSIWYG rich text editor storing HTML in .value (toolbar formatting, links, images).

HTML tag: c-ed409ce4c45bf4118b79a1efbebb81853

  • rich HTML body content in forms
  • WYSIWYG mail or article text
  • not plain text or source code
PropTypeDefaultDescription
valueString
readonlyBooleanfalse
  • Bind .value to HTML string; readonly disables editing.
  • blur fires when editor loses focus — sync value on blur if not two-way bound live.
  • Not for source code (ab-code-editor) or plain text (ab-textarea).
  • Large toolbar/parts for images, links, headings — avoid nesting inside cramped dialogs without height tokens.
EventDetail
blur

Do not use for JSON/code. Do not use ab-input for long formatted HTML. Do not expect value-changed — host documents blur.

<c-ed409ce4c45bf4118b79a1efbebb81853 .value=${bodyHtml} .readonly=${false} @blur=${syncHtml}></c-ed409ce4c45bf4118b79a1efbebb81853>