Editor Advanced Image
3,772 sites
Security covered
This module enhances the image editing tool in CKEditor by allowing you to add attributes like title, class, and ID to images. It can also set a default class for all images, such as "img-fluid" or "img-responsive."
Enhances the image Balloon in CKEditor 4 & CKEditor 5.
Features
Allows to define the following attributes:
titleclassid
You will also be able to:
- define a default class for every images on an Editor (such
img-fluidorimg-responsive).
Requirements
- The
8.x-2.1branch is compliant with both ckeditor4 & ckeditor5 - The
3.xbranch is compliant with ckeditor5 only
Standard usage scenario for CKEditor 5
- Install the module.
- Open the "Text formats and editor" admin page admin/config/content/formats.
- Use the "Editor Advanced Image" configuration form to enable any attributes you need (
title,classand/orid).
Only those whitelisted here will be visible in CKEditor 5 Balloon.
Standard usage scenario for CKEditor 4
- Install the module.
- Open the "Text formats and editor" admin page admin/config/content/formats.
- if the "Limit allowed HTML tags and correct faulty HTML" filter is disabled you don't have anything to do with this text format.
Otherwise, add thetitle,classand/oridattributes to theimg"allowed HTML tags" field (only those whitelisted will show up in the dialog).
Which version should I use?
Drupal Core CKEditor Editor Advanced Image 8.7.x 4.x 1.x 8.8.x 4.x 2.0.0-beta1 8.9.x 4.x 2.0.0-beta1 9.x 4.x 2.x 9.x 5.x 8.x-2.1 10.x 4.x 8.x-2.1 10.x 5.x 8.x-2.1 or 3.x 11.x 5.x 3.xDependencies
The Drupal 11 version of Editor Advanced Image requires Editor and CKEditor 5.
The Drupal 10 version of Editor Advanced Image requires Editor and CKEditor 5.
The Drupal 8 & Drupal 9 versions of Editor Advanced Image requires Editor and CKEditor 4.
Supporting organizations
This project is sponsored by Antistatique. We are a Swiss Web Agency, Visit us at www.antistatique.net or Contact us.