Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

CKEditor5 Template

6,241 sites Security covered
View on drupal.org

This module adds a CKEditor 5 plugin to Drupal, allowing users to easily insert predefined content templates. It serves as a successor to the CKEditor 4 template module, providing similar functionality for the newer CKEditor 5 version.

This project provides a CKEditor 5 plugin for Drupal.
It allows to insert predefined content.

It is a successor of the Drupal ckeditor_templates module.
The predecessor is unfortunately only compatible with CKEditor 4.
To ensure that the template functionality also works with CKEditor 5,
we have developed the module.

Requirements

This module requires that you enable the CKEditor 5 module in Drupal core.

Installation

Install as you would normally install a contributed Drupal module. For further
information, see Installing Drupal Modules.

Configuration

  • Go to /admin/config/content/formats and drag the template button
    from the available buttons to the active tool list and save
  • Configure the template file which should be used

Usage

The required templates can now be provided in the following format in the previously specified template file:

[
    {
      "title": "Link",
      "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.10 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z\"/></svg>",
      "description": "Insert a link to the CKEditor 5 Template plugin.",
      "html": "<p>Do you know the cool <a href='https://www.drupal.org/project/ckeditor5_template' target='_blank'>CKEditor 5 Template plugin</a>?</p>"
    },
...
]
  • title | unique string (Each title can exist only once)
  • icon | svg content
  • description | string
  • html | any custom html code

You can find an example in the module folder
ckeditor5_template/template/ckeditor5_template.json.example.

Related modules

Activity

Total releases
1
First release
Jun 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.9 Stable Jun 12, 2026