image/imagestyle/utils
module
Constants
module:image/imagestyle/utils~DEFAULT_DROPDOWN_DEFINITIONSDefault drop-downs provided by the plugin that can be referred in the
toolbarconfiguration. The drop-downs are containers for the image style options.If both of the
ImageEditingplugins are loaded, there are 2 predefined drop-downs available:'imageStyle:wrapText', which contains thealignLeftandalignRightoptions, that is, those that wraps the text around the image,'imageStyle:breakText', which contains thealignBlockLeft,alignCenterandalignBlockRightoptions, that is, those that breaks the text around the image.
DEFAULT_ICONS : Record<string, string>module:image/imagestyle/utils~DEFAULT_ICONSDEFAULT_OPTIONS : Record<string, ImageStyleOptionDefinition>module:image/imagestyle/utils~DEFAULT_OPTIONSDefault image style options provided by the plugin that can be referred in the
stylesconfiguration.There are available 5 styles focused on formatting:
'alignLeft'aligns the inline or block image to the left and wraps it with the text using theimage-style-align-leftclass,'alignRight'aligns the inline or block image to the right and wraps it with the text using theimage-style-align-rightclass,'alignCenter'centers the block image using theimage-style-align-centerclass,'alignBlockLeft'aligns the block image to the left using theimage-style-block-align-leftclass,'alignBlockRight'aligns the block image to the right using theimage-style-block-align-rightclass,
and 3 semantic styles:
'inline'is an inline image without any CSS class,'block'is a block image without any CSS class,'side'is a block image styled with theimage-style-sideCSS class.
utils : objectmodule:image/imagestyle/utils~utils