RichTextEditorComponent
A rich text (HTML) editor based on Prosemirror (https://prosemirror.net/)
Example
- Implements: ControlValueAccessor, AfterViewInit, OnDestroy
label
property
string_readonly
property
onChange
property
(val: any) => voidonTouch
property
() => voidconstructor
method
(changeDetector: ChangeDetectorRef, prosemirrorService: ProsemirrorService, viewContainerRef: ViewContainerRef, contextMenuService: ContextMenuService) => RichTextEditorComponentmenuElement
property
HTMLDivElement | nullngAfterViewInit
method
() => ngOnDestroy
method
() => registerOnChange
method
(fn: any) => registerOnTouched
method
(fn: any) => setDisabledState
method
(isDisabled: boolean) => writeValue
method
(value: any) => Was this chapter helpful?