Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). 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: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). 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 provides an upgrade path for ckeditor templates created using the
https://www.drupal.org/project/ckeditor_templates_ui module into the CKEditor 5
ready version of https://www.drupal.org/project/ckeditor_templates.

Warning: Never use this module without testing and creating a database backup in production, it will change existing content!

Make sure to read through the README before installing the module. In most cases, you will want to customize which templates are migrated and/or wrapped via the events dispatched by the module before installing it and processing content via cron.

Features

This module does the following two things upon installation:

  1. Migrates existing templates created via ckeditor_templates_ui module into the
    new entity type available in ckeditor_templates ckeditor5 version.
  2. Updates all existing content to wrap existing template embeds with wrapping
    markup that gets added around the template when embedding a template in
    ckeditor5, namely

<section class="ckeditor-template-wrapper"><div class="ckeditor-template-content"></div></section>

Why update existing content?

When upgrading a site with existing template embeds to ckeditor5, these existing embeds are not recognized by the ckeditor_templates module as templates when upcasting the markup into Ckeditor5's DOM.

That means they won't be wrapped with a ckeditor widget frame as new template embeds will. In some situation, this causes major difficulties when attempting to amend existing content. Imagine for example a column layout with multiple rows based on templates and an editor wanting to add new rows in the middle of existing rows. Without the ckeditor widget's ability to insert newlines, this becomes really cumbersome.

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
1
Tracked since
Sep 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev Sep 11, 2023