Configures the image settings of the RichTextEditor.
string[]
Specifies the allowed file types for selection.
Defaults to [‘.jpeg’, ‘.jpg’, ‘.png’]
string
Specifies whether the image is inserted inline or with a break.
Defaults to ‘inline’
string
Specifies the height of the image.
Defaults to ‘auto’
string
| number
Defines the maximum height of the image.
Defaults to null
string
| number
Defines the maximum width of the image.
Defaults to null
string
| number
Defines the minimum height of the image.
Defaults to ‘0’
string
| number
Defines the minimum width of the image.
Defaults to ‘0’
string
Specifies the path for storing and displaying images.
Defaults to null
string
Specifies the URL for the remove action that handles image removal on the server.
This URL should handle a POST
request, with an argument named UploadFiles
.
The event is triggered when uploading and canceling or removing an image in the insert image dialog, pasting, and removing an image in the Paste cleanup popup.
Defaults to null
boolean
Enables resizing for the image element.
Defaults to true
boolean
Enables image resizing by percentage calculation.
Defaults to false
Specifies whether the inserted image is saved as a blob or base64.
Defaults to ‘Blob’
string
Specifies the URL for the save action that handles uploaded images on the server.
This URL should handle a POST
request, with an argument named UploadFiles
.
The event is triggered when inserting an image via the Insert Image dialog, pasting an image, replacing an existing image, or dragging and dropping from the file browser.
Defaults to null
string
Specifies the width of the image.
Defaults to ‘auto’