Part of the Ckeditor ecosystem · 110 projects
This module adds the ability to resize image media embedded within CKEditor5. It allows users to adjust the size of embedded images directly in the editor using draggable handles.
Introduces the ability to arbitrarily re-scale image media embedded via Drupal core's media embed plugin in CKEditor5.
Features
Drupal core's ckeditor5 image embed feature allows scaling of images once an image is uploaded and inserted into the ckeditor5 instance. The rescaling works via draggable handles on each corner of an embedded image. Drupal core also allows embedding of images via the media embed ckeditor5 plugin. Unfortunately embedded media images can't be resized at this point and this module here adds exactly this missing functionality.
Post-Installation
In order to re-scale embedded image media in ckeditor5, follow these steps after installing it as usual via composer:
- Enable the module via the UI or via Drush.
- Head to /admin/config/content/formats, select the text format you want to enable media resizing for and edit the format.
- Enable the Media embed button in the toolbar configuration by drag and dropping it from the available buttons into the toolbar.
- Enable the filters Limit allowed HTML tags and correct faulty HTML, Resize media images and Embed media. The Resize media images filter needs to run before the Embed media filter.
- Configure the Embed media filter to allow at least the Image media bundle to be inserted. Resizing for other media bundles is not supported at this point.
Ask your assistant about CKEditor Media Resize
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- ckeditor5 Drupal core
- image Drupal core
- media_library Drupal core
Required by
1 tracked project depends on this one
- Seeds Editor 149 sites
More in the Ckeditor ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.1.1 | Stable | 10–11 | Jul 29, 2026 | ||
| 1.1.0 | Stable | 10 | Sep 30, 2025 | ||
| 1.1.x-dev | Dev | 10–11 | Sep 27, 2025 | ||
| 1.0.1 | Stable | Sep 27, 2025 | |||
| 1.0.0 | Stable | 10–11 | Oct 29, 2024 | ||
| 1.0.0-beta2 | Pre-release | 10–11 | Aug 19, 2024 | ||
| 1.0.0-beta1 | Pre-release | 9–10 | Nov 4, 2023 | ||
| 1.0.x-dev | Dev | Jul 25, 2023 |