# MediaStyleConfig

interface

The configuration for the [`MediaEmbedStyle`](module_media-embed_mediaembedstyle-MediaEmbedStyle.md) feature.

See [`config.mediaEmbed.styles`](module_media-embed_mediaembedconfig-MediaEmbedConfig.md#member-styles) for details and examples.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-media-embed/src/mediaembedconfig.ts#L381)

<a id="properties">

## Properties

<a id="member-options">

### `options?: Array<string | MediaStyleOptionDefinition>`

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.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-media-embed/src/mediaembedconfig.ts#L393)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
