ImagePropertiesOptions
plugins/image-properties.ImagePropertiesOptions
dialogWidth
dialogWidth: number
Defined in
src/plugins/image-properties/interface.d.ts#47
openOnDblClick
openOnDblClick: boolean
Open editing dialog after double click on image
Defined in
src/plugins/image-properties/interface.d.ts#52
editSrc
editSrc: boolean
Show edit 'src' input
Defined in
src/plugins/image-properties/interface.d.ts#57
useImageEditor
useImageEditor: boolean
Show crop/resize btn
Defined in
src/plugins/image-properties/interface.d.ts#62
editTitle
editTitle: boolean
Show edit 'title' input
Defined in
src/plugins/image-properties/interface.d.ts#67
editAlt
editAlt: boolean
Show edit 'alt' input
Defined in
src/plugins/image-properties/interface.d.ts#72
editLink
editLink: boolean
Show edit image link's options
Defined in
src/plugins/image-properties/interface.d.ts#77
editSize
editSize: boolean
Show edit image size's inputs
Defined in
src/plugins/image-properties/interface.d.ts#82
editMargins
editMargins: boolean
Show edit margin inputs
Defined in
src/plugins/image-properties/interface.d.ts#87
editBorderRadius
editBorderRadius: boolean
Defined in
src/plugins/image-properties/interface.d.ts#88
editClass
editClass: boolean
Show edit classNames input
Defined in
src/plugins/image-properties/interface.d.ts#93
availableClasses
availableClasses: string
[] | [string
, string
][]
Pre-define available classes to select from
Classes can be provided as list of strings or as list of tuples
["classname", "human label"]
.
Example
new Jodit('#editor', {
image: {
availableClasses: [
"rte-image-width-50",
["rte-image-width-75", "75 % width"]
]
}
})
Defined in
src/plugins/image-properties/interface.d.ts#114
editStyle
editStyle: boolean
Show style edit input
Defined in
src/plugins/image-properties/interface.d.ts#119
editId
editId: boolean
Show edit ID input
Defined in
src/plugins/image-properties/interface.d.ts#124
editAlign
editAlign: boolean
Show Alignment selector
Defined in
src/plugins/image-properties/interface.d.ts#129
showPreview
showPreview: boolean
Show preview image
Defined in
src/plugins/image-properties/interface.d.ts#134
selectImageAfterClose
selectImageAfterClose: boolean
Select image after close dialog
Defined in
jodit/src/plugins/image-properties/interface.d.ts:139