Module

image/imagestyle/utils

@ckeditor/ckeditor5-image/src/imagestyle/utils

module

Filtering

Constants

  • defaultIcons : Object.<String, String>

    Default image style icons provided by the plugin that can be referred in the styles configuration.

    There are 4 icons available: 'full', 'left', 'center' and 'right'.

  • defaultStyles : Object.<String, Object>

    Default image styles provided by the plugin that can be referred in the styles configuration.

    Among them, 2 default semantic content styles are available:

    • full is a full–width image without any CSS class,
    • side is a side image styled with the image-style-side CSS class.

    There are also 3 styles focused on formatting:

    • alignLeft aligns the image to the left using the image-style-align-left class,
    • alignCenter centers the image using the image-style-align-center class,
    • alignRight aligns the image to the right using the image-style-align-right class,

Functions