ReadonlyariaAccessible label forwarded to the editable region via
aria-label.
ReadonlyblockFired when an existing template block is edited.
ReadonlyblockFired when a template block is inserted.
ReadonlyblockFired when a template block is removed.
ReadonlycompactOptional compact-mode toolbar actions.
When omitted, compact presentation falls back to the built-in minimal toolbar set.
ReadonlydisabledWhether the editor is disabled (non-interactive).
ReadonlyemojiOptional custom emoji categories for the inline emoji picker. When not provided the picker uses the default comprehensive emoji set.
ReadonlyimageOptional callback for handling pasted images.
When provided, the function receives the pasted image File
and should return a Promise<string> resolving to a URL.
The URL is then inserted as an <img> (HTML mode) or
 (Markdown mode).
When not provided, pasted images are embedded inline as
base64 data: URIs.
Protected ReadonlyisWhether the emoji picker dropdown is open.
Protected ReadonlyisWhether the editor area is currently focused.
ReadonlyisWhether the editor is in full-screen (full-window) mode.
Protected ReadonlyisWhether the placeholder picker dropdown is open.
Protected ReadonlyisWhether the editor is in raw source editing mode.
Protected ReadonlyisWhether the table size picker dropdown is open.
ReadonlymaxOptional maximum character count. When set, a character counter is shown below the editor. The count is based on the plain-text length of the content (HTML tags and Markdown syntax are excluded).
A value of 0 or undefined disables the limit.
ReadonlymodeEditing mode.
'html' — WYSIWYG editing (default)'markdown' — Markdown source editing with live previewReadonlyplaceholderPlaceholder text shown when the editor is empty.
ReadonlyplaceholderSample context data used to derive the placeholder picker's shape.
When provided, the picker shows object keys and array item fields from
this value instead of requiring a flat placeholder list. Array item fields
are displayed with their collection path, e.g. lines[].description.
ReadonlyplaceholdersAvailable placeholder definitions. When non-empty a placeholder picker appears in the toolbar.
Protected ReadonlyplaceholderSearch term for filtering the placeholder picker.
ReadonlypresentationPresentation style of the editor chrome.
'default' — full editor chrome with the standard toolbar.'compact' — chat-style editor with a minimal floating toolbar.ReadonlyreadonlyWhether the editor is read-only (content visible but not editable).
ReadonlysanitiseWhether to sanitise HTML content before rendering.
When true (default) the editor strips dangerous elements
(<script>, <iframe>, etc.), on* event handlers,
javascript: URIs, and style attributes from all content
— whether pasted, set via value(), or typed in source mode.
Set to false to allow arbitrary HTML. Only disable this
for trusted users/roles (e.g. developers crafting
bookmarklets or embed snippets).
ReadonlyshowWhether the Markdown preview pane is visible. Toggled by the preview toolbar button in Markdown mode.
ReadonlysplitLayout of the markdown editor + preview split pane.
Only meaningful when mode === 'markdown'.
'vertical' — textarea above, preview below (default).'horizontal' — textarea left, preview right (side-by-side).Protected ReadonlytableColumns currently highlighted in the table size picker.
Protected ReadonlytableRows currently highlighted in the table size picker.
ReadonlytoolbarWhich formatting actions to show in the toolbar. Defaults to DEFAULT_TOOLBAR_ACTIONS.
Protected ReadonlytoolbarResolved toolbar button metadata from the actions list.
ReadonlyvalueContent of the editor. Two-way bindable via [(value)].
In HTML mode this is an HTML string. In Markdown mode this is a Markdown string. Placeholder chips are serialised as self-closing XML template blocks in both modes.
ProtectedexecOptionalanchorEl: ElementA callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Rich-text editor supporting basic formatting and placeholder insertion.
Supports two editing modes controlled by the
modeinput:'html'(default) — WYSIWYG editing with a nativecontenteditablediv anddocument.execCommandfor formatting. Content is stored as HTML.'markdown'— Plain-text Markdown editing in a<textarea>with a live HTML preview below. Formatting actions insert Markdown syntax. Content is stored as Markdown.Placeholders are self-closing XML template blocks (e.g.
<placeholder key="firstName" />) rendered as non-editable inline chips. A downstream template engine resolves them through the same block-provider path used by all other template blocks.The editor exposes its content as a two-way
[(value)]binding.Example