Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: RightUp 1.0.2 — Minor update available for module rightup (1.0.2). Release: CronWatch 0.12.1 — Minor update available for module cronwatch (0.12.1). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

This module extends Drupal's HTML Filter, to allow the ability to use "style" attributes in the CKEditor.
Initially, this module was created to solve the issue of resizing tables inside CKEditor.
We have added a configuration to allow specific styles to be used with this filter, you can configure them from "/admin/config/content/extended-html-filter".

Installation:

  1. Install module as usual: Install contrib modules.
  2. Go to Extended HTML Filter Settings (/admin/config/content/extended-html-filter) and whitelist the style attributes you want to use, by default width and height are allowed.
  3. Go to Text formats and editors (/admin/config/content/formats) and configure the text editor that uses CKEditor.
  4. Scroll down to (Enabled Filters) and disable (Limit allowed HTML tags and correct faulty HTML) and enable (Extended HTML Filter).
  5. Scroll down to (Filter Settings) and allow some HTML tags from (Allowed HTML Tags) text field, add the (style) attribute to the HTML tag that you want to use inline style on it and hit save.

Sponsored and developed by:

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jun 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.3 Stable Jul 10, 2024
1.0.2 Stable Jun 5, 2023