Search results

ImageSettings

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 URL of save action that will receive the upload files and save in the 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

string

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’