# media-embed/mediaembedresize/constants

module

<a id="constants">

## Constants

<a id="constant-RESIZED_MEDIA_CLASS">

### `RESIZED_MEDIA_CLASS: 'media_resized'`

The view class applied to a resized media embed figure.

Shared between the editing plugin (which toggles it via downcast of `resizedWidth` and consumes it on upcast) and the handles plugin (which adds it during drag and strips it on commit), so both layers agree on the exact class name.

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

---

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