Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

ckeditor_div_manager

2,849 sites Security covered
View on drupal.org

Introduction

This module integrates the Div Container Manager CKEditor plugin for Drupal 8/9.

The plugin adds the ability to group content blocks under a div element as a container, with styles and attributes optionally specified in a dialog.

Requirements

  • The 2.1.x branch uses ckeditor (core - deprecated)
  • The 3.0.x branch uses ckeditor5 (core)

Installation

Install via Composer (recommended)

If you use Composer to manage dependencies, edit composer.json as follows.

  • Run composer require --prefer-dist composer/installers to ensure you have the composer/installers package. This facilitates installation into directories other than vendor using Composer.
  • In composer.json, make sure the "installer-paths" section in "extras" has an entry for "type:drupal-library". For example:
    {
      "libraries/{$name}": ["type:drupal-library"]
    }
    
  • Run composer require 'ckeditor/div:4.10.1' to download the plugin.
  • Run composer require 'drupal/ckeditor_div_manager:^2.0' to download the CKEditor Div Manager module, and enable it as per usual.

Install Manually

  • Download the Div Container Manager CKEditor plugin.
  • Extract and place the plugin contents in the following directory:
    /libraries/ckeditor/plugins/div/.
  • Install the CKEditor Div Manager module as per usual.

Configuration

  • Go to 'Text formats and editors' (admin/config/content/formats).
  • Click 'Configure' for any text format using CKEditor as the text editor.
  • Configure your CKEditor toolbar to include the Div Container Manager button.
  • If 'Limit allowed HTML tags and correct faulty HTML' is enabled, the Allowed HTML tags need to be configured. At a minimum, the <div> tag needs to be allowed. Some fields in the plugin dialog require additional attributes to be allowed or they will be hidden. The full set is <div class id title>. Inline styles will not be allowed with this filter enabled.
  • Any classes or sets of classes defined in the editor's Styles dropdown for the div element will carry over to the Style dropdown in the plugin dialog.

Troubleshooting

  • This project only handles the bridge between Div Container Manager and Drupal. For support of the plugin itself, please use their project page.

Activity

Total releases
1
First release
Jul 2025
Latest release
8 months ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
3.0.0-alpha2 Pre-release Jul 29, 2025