Richtexteditor Ui - BeforeDialogOpenEventArgs

30 Sep 20261 minute to read

Event args for {@link RichTextEditor.beforeDialogOpen}. Extends the ej2
{@link BeforeOpenEventArgs} with the source field that identifies the
editor feature (e.g. 'Link', 'Image', 'Table') the dialog belongs to.

Properties

cancel boolean

Defines whether the current action can be prevented.

container HTMLElement

Returns the root container element of the dialog.

element Element

Returns the element of the dialog.

maxHeight string

Specify the value to override max-height value of dialog.

source string

The editor feature the sub-component belongs to. Supplied by the caller
when the sub-component is created. Undefined for generic sub-components
that are not tied to a specific feature.

target HTMLElement|string

Returns the target element of the dialog.