Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

CKEditor5 block embed

166 sites No security coverage Drupal 10–11
View on drupal.org

This module integrates block embedding functionality directly into the CKEditor5 rich text editor. It allows users to easily insert various types of blocks, including custom content blocks, view blocks, and blocks from theme regions, directly within their content.

The CKEditor5 Block Embed module allows administrators to easily embed blocks within the CKEditor5 interface:

  • Content Blocks: These include both basic predefined blocks (such as basic blocks) and manually created custom blocks. Administrators can add these blocks directly from the CKEditor5 toolbar, making it easy to display dynamic or reusable content blocks across pages.
  • View Blocks: These can either be default or manually created, with a block display mode that determines how the content is rendered. View blocks are ideal for displaying dynamic or templated content, such as user-generated data, and can be quickly inserted through the CKEditor5 interface.
  • Region Blocks: Predefined layout regions (like headers, footers, or sidebars) from the active theme. The benefit of Region Blocks is the ability to place core, contrib, or custom-module blocks within these regions. Administrators can configure settings via a configuration form, allowing specific blocks to be placed in the region and available within the CKEditor5 interface. Additionally, "readonly" regions can be created, ensuring blocks are not shown on the front end, providing greater control over content placement and visibility.

This module makes it simple to manage and insert complex content and layout elements, providing flexibility and control over how content is displayed on the site.

Note: Avoid including any block within itself or creating a self-contained scenario. Embedding a block inside itself will create an infinite loop, which can break the editor and disrupt the page rendering.

Video Demo
View video

Support
Please post bug reports, feature requests and support requests to the CKEditor5 block embed module issue queue. If you met any problems with this module - feel free to create an issue.

Configuration and Demo

  • Go to https://simplytest.me/project/ck5_block_embed.
  • Click "Launch Sandbox".
  • Install Drupal as normal.
  • Enable "CKEditor5 block embed" module, and any optional modules you wish to try out.
  • Go to /admin/config/content/formats/manage/full_html or any other editor where you wish to implement the functionality and drag the Embed Block icon on the active toolbar and checking the box next to the Embed blocks filter.
  • Add/edit the content with editor, click on the "Embed blocks" icon where the Embed blocks feature lets you embed any content blocks, view blocks, and region blocks from the active theme.

Depends on

Dependencies of the latest stable release

  • ckeditor5 Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 5
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.3 Stable 10–11 Aug 6, 2025
1.0.2 Stable 10–11 Jul 29, 2025
1.0.1 Stable 10–11 Jan 24, 2025
1.0.0 Stable 10–11 Jan 22, 2025
1.0.x-dev Dev 10–11 Jan 22, 2025