Sign up (with export icon)

MediaEmbedResizeOption

Api-interface iconinterface

The media embed resize option used in the config.mediaEmbed.resizeOptions configuration.

Properties

  • Chevron-right icon

    icon : string | undefined

    The icon displayed on the button. Available icons: 'small', 'medium', 'large', 'original', 'custom'.

  • Chevron-right icon

    label : string | undefined

    The option label shown in the dropdown or used as button tooltip and ARIA label. When not specified, the label is generated automatically from the value and config.mediaEmbed.resizeUnit.

  • Chevron-right icon

    name : string

    The name of the UI component that changes the media size. When placing individual resize buttons in the toolbar, reference this name directly. When using the dropdown, this name is used for the corresponding list item.

  • Chevron-right icon

    value : string | null

    The numeric resize value without the unit (configured separately). null resets the media to its original (unresized) width. 'custom' opens the custom-size balloon.