Skip to content

Interface: ImageDialogState ​

Snapshot of an image dialog.

Extended by ​

Properties ​

PropertyModifierTypeDescription
altreadonlystringCurrent value of the alternative text field.
availablereadonlybooleanWhether the editor can hold images at all (has advancedSchema()).
decorativereadonlybooleanDecorative images get alt="" and are skipped by screen readers.
errorreadonlystring | nullValidation message, or null.
errorFieldreadonly"src" | "alt" | nullWhich field the error belongs to.
imageSelectedreadonlybooleanWhether an image is selected, so the trigger opens in "edit" mode.
modereadonly"insert" | "edit""insert" adds a new image by address; "edit" changes the selected image.
openreadonlybooleanThe dialog is open.
srcreadonlystringCurrent value of the address field.