Search results

ImageSettings API in JavaScript RichTextEditor API control

Configures the image settings of the RichTextEditor.

Properties

allowedTypes

string[]

Specifies whether to allowType based file select.

Defaults to [‘.jpeg’, ‘.jpg’, ‘.png’]

display

string

Specifies whether insert image inline or break.

Defaults to ‘inline’

height

string

Specifies whether image height.

Defaults to ‘auto’

maxHeight

string | number

Defines the maximum Height of the image.

Defaults to null

maxWidth

string | number

Defines the maximum Width of the image.

Defaults to null

minHeight

string | number

Defines the minimum Height of the image.

Defaults to ‘0’

minWidth

string | number

Defines the minimum Width of the image.

Defaults to ‘0’

path

string

Specifies the path of the location to store the images and refer it to display the images.

Defaults to ‘null’

removeUrl

string

Specifies the URL of remove action that receives the file information and handle the remove operation in server.

Defaults to ‘null’

resize

boolean

To enable resizing for image element.

Defaults to ‘true’

resizeByPercent

boolean

image resizing should be done by percentage calculation.

Defaults to false

saveFormat

SaveFormat

Specifies whether the inserted image is saved as blob or base64.

Defaults to ‘Blob’

saveUrl

string

Specifies the URL of save action that will receive the upload files and save in the server.

Defaults to ‘null’

width

string

Specifies whether image width.

Defaults to ‘auto’