Skip to main content

RichTextEditorComponent

A rich text (HTML) editor based on Prosemirror (https://prosemirror.net/)

Example

HTML
Signature
  • Implements: ControlValueAccessor, AfterViewInit, OnDestroy

label

propertystring

_readonly

property

onChange

property(val: any) => void

onTouch

property() => void

constructor

method(changeDetector: ChangeDetectorRef, prosemirrorService: ProsemirrorService, viewContainerRef: ViewContainerRef, contextMenuService: ContextMenuService) => RichTextEditorComponent
propertyHTMLDivElement | null

ngAfterViewInit

method() =>

ngOnDestroy

method() =>

registerOnChange

method(fn: any) =>

registerOnTouched

method(fn: any) =>

setDisabledState

method(isDisabled: boolean) =>

writeValue

method(value: any) =>
Was this chapter helpful?
Report Issue
Edited Feb 23, 2026ยทEdit this page