MediaEmbedResizeOption
The media embed resize option used in the config.mediaEmbed.resizeOptions configuration.
Properties
icon : string | undefinedmodule:media-embed/mediaembedconfig~MediaEmbedResizeOption#iconThe icon displayed on the button. Available icons:
'small','medium','large','original','custom'.label : string | undefinedmodule:media-embed/mediaembedconfig~MediaEmbedResizeOption#labelThe option label shown in the dropdown or used as button tooltip and ARIA label. When not specified, the label is generated automatically from the
valueandconfig.mediaEmbed.resizeUnit.name : stringmodule:media-embed/mediaembedconfig~MediaEmbedResizeOption#nameThe 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.
value : string | nullmodule:media-embed/mediaembedconfig~MediaEmbedResizeOption#valueThe numeric resize value without the unit (configured separately).
nullresets the media to its original (unresized) width.'custom'opens the custom-size balloon.