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

Canvas Full HTML

345 sites Security covered Drupal 10–11 Canvas ecosystem
View on drupal.org

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.

Depends on

Dependencies of the latest stable release

  • Drupal Canvas
  • ckeditor5 Drupal core
  • editor Drupal core
  • filter Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Jan 2026
Latest release
4 months ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Active

Release Timeline

Releases

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