Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

CKEditor Media Resize

5,338 sites Security covered Drupal 10–11
View on drupal.org

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:

  1. Enable the module via the UI or via Drush.
  2. Head to /admin/config/content/formats, select the text format you want to enable media resizing for and edit the format.
  3. Enable the Media embed button in the toolbar configuration by drag and dropping it from the available buttons into the toolbar.
  4. 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.
  5. 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.

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

Activity

Tracked releases
5
Tracked since
Oct 2024
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core 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