Sign up (with export icon)

MediaStyleConfig

Api-interface iconinterface

The configuration for the MediaEmbedStyle feature.

See config.mediaEmbed.styles for details and examples.

Properties

  • Chevron-right icon

    options : Array<string | MediaStyleOptionDefinition> | undefined

    A list of media style options. Each entry is either:

    • a string referencing a built-in style by name ('alignLeft', 'alignBlockLeft', 'alignCenter', 'alignBlockRight', 'alignRight'),
    • an object overriding fields of a built-in (matched by name),
    • an object defining a new custom style.

    Defaults to all five built-in styles when omitted.