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).

ck5_webform

No security coverage
View on drupal.org

The CKEditor 5 Webform Embed module streamlines the process of placing complex forms into your content. Instead of managing shortcodes or complex HTML snippets, this module provides a native CKEditor 5 widget that allows administrators to browse, select, and embed Webforms directly within the editor interface. It bridges the gap between powerful form functionality and a user-friendly authoring experience.

Features

  • Native Widget Integration: Provides a visual "Webform" block within the
    editor to easily move and manage embedded forms.
  • AJAX Modal Browser: A user-friendly selection interface to browse
    and search for active webforms without leaving the content page.
  • Live Editor Placeholders: Provides a clear visual representation of where the form will appear, ensuring editors understand the layout before hitting save.
  • Double-Click Editing: Quickly swap out one form for another by double-clicking the widget to re-open the selection modal.
  • Secure Rendering: Uses a dedicated server-side filter to transform semantic tags into fully functional, accessible Drupal Webforms on the frontend.

Installation

Install as you would any contributed Drupal module. See Installing Drupal Modules.

composer require drupal/ck5_webform

Enable the module using Drush:

drush en ck5_webform

Post-Installation

After installation, you must configure your Text Formats to enable the embedding capabilities:

  1. Go to Configuration » Content authoring » Text formats and editors.
  2. Edit your preferred format (e.g., Basic HTML or Full HTML).
  3. Drag the Embed Webform icon into the active toolbar.
  4. Enable the CKEditor 5 Webform Embed filter in the "Enabled filters" section.
    Note: This filter is responsible for rendering the form on the public site.
  5. If using Limit allowed HTML tags, ensure <drupal-webform data-webform-id> is added to the allowed tags list.

Additional Requirements

This module requires the following:

  • CKEditor 5 (Core module in Drupal 10/11)
  • Webform (Contributed module)

Similar projects

Supporting this Module

If you find this module useful, please consider reporting bugs or submitting feature requests in the issue queue. Your feedback helps make this tool better for the entire community!

Activity

Total releases
2
First release
Jan 2026
Latest release
2 months ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.0 Stable Jan 26, 2026
1.0.x-dev Dev Jan 26, 2026