Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module enhances the Drupal Canvas experience by replacing its limited text formats with the Full HTML format. This allows for unrestricted HTML editing within Canvas WYSIWYG editors, offering greater flexibility in content customization.

Replaces Canvas's restricted text formats with the Full HTML text format in Drupal Canvas (Experience Builder) WYSIWYG editors, enabling unrestricted HTML editing capabilities.

While working with Canvas, I noticed that several people were struggling with its restricted WYSIWYG setup. Canvas currently allows only its own Canvas block and Canvas inline text formats, which means there’s no flexibility to customize the toolbar or apply additional text formats.

To address this limitation, I built a module that enables full_html text format support within Canvas. However, since Canvas enforces strict constraints, it doesn’t allow toggling between text filters directly during page editing. As a workaround, the configuration for enabling full_html needs to be managed separately in Drupal.

Features

  • Toggle full_html format on/off via admin configuration
  • Automatic CKEditor 5 toolbar overflow fixes for Canvas UI
  • Works with any component using contentMediaType: text/html props
  • Example "Rich Text Block" component included

Requires Canvas module and a full_html text format.

Requirements

  • Drupal 10.3+ or Drupal 11
  • PHP 8.1+
  • Canvas module
  • A text format with machine name full_html

Installation

composer require drupal/canvas_full_html
drush en canvas_full_html

Configuration

Navigate to Administration > Configuration > Content > Canvas Full
HTML

(/admin/config/content/canvas-full-html)

  • Enable Full HTML format in Canvas: Toggle to
    enable/disable the full_html text format replacement.

How to Use

  1. Enable the module
  2. Ensure the setting is enabled at
    /admin/config/content/canvas-full-html
  3. Clear caches: drush cr
  4. Open Canvas editor and add a component with rich text props
  5. The CKEditor 5 will now have full HTML toolbar options

Example Component

The module includes an example "Rich Text Block" component demonstrating how
to use contentMediaType: text/html props with full HTML support.

Activity

Total releases
6
First release
Jan 2026
Latest release
3 months ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.6 Stable Apr 1, 2026
1.0.4 Stable Mar 11, 2026
1.0.3 Stable Mar 11, 2026
1.0.2 Stable Mar 9, 2026
1.0.1 Stable Jan 28, 2026
1.0.0 Stable Jan 27, 2026