Protected _internalsAttached ElementInternals which provides form handling functionality.
Protected _primaryThe primary input (if any). Used to determine what element should receive focus when an associated label is clicked on.
Protected _valueThe underlying value of the element.
Private #activeIs the editor in active edit mode?
Private #editorThe ProseMirror editor instance.
Private #contentCurrent editor contents
Private #toggledDoes this editor function via a toggle button? Or is it always active?
Private #enrichedEnriched content which is optionally used if the editor is toggled.
Private #buttonAn optional edit button which activates edit mode for the editor
Static tagStatic formDeclare that this custom element provides form element functionality.
The form this element belongs to.
The input element name.
The value of the input element.
Is this element disabled?
Is this field editable? The field can be neither disabled nor readonly.
Protected _configureProtected _setProtected _onPrivate #activatePrivate #onPrivate #saveStatic createCreate a HTMLProseMirrorElement using provided configuration data.
A custom HTML element responsible displaying a ProseMirror rich text editor.