Richtexteditor Ui - BeforeFileDropEventArgs

30 Sep 20261 minute to read

Event args for {@link RichTextEditor.beforeFileDrop}. Raised when one or
more files are dropped (or pasted) onto the editable area, before the
image module routes them through the typed command pipeline.
Set args.cancel = true to keep the document untouched.

Properties

cancel boolean

Cancels the drop pipeline.

files FileList

Files dropped onto or pasted into the editor.

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.