Part of the Ckeditor ecosystem · 110 projects
This module integrates Drupal's layout system into the CKEditor WYSIWYG interface. It allows users to insert predefined page layouts directly into their content while editing.
This module allows the use of layouts defined via the core Layout API within WYSIWYG content by supplying a Layouts plugin for CKEditor.
Installation
- Install the module as any other contributed module for Drupal (https://www.drupal.org/docs/extending-drupal/installing-modules) .
- Add the Layouts plugin to the editor configuration of any text format (i.e. /admin/config/content/formats/manage/full_html) by dragging the button on the toolbar.
- Optionally limit the allowed layouts on the Layouts plugin settings tab in the editor configuration.
Using default layouts
The Layout Discovery module in Drupal core will provide some default layouts.
Defining your own layouts
Custom layouts can be added via the core Layout API (https://www.drupal.org/docs/drupal-apis/layout-api/how-to-register-layouts).
Versions
2.x
As of version 2.0.0 CKeditor Layouts supports CKEditor 5. The 2.x versions support CKEditor 5 only. It is the recommended version to use with Drupal 10.
1.x
As of version 1.1.0 this module is Drupal 10 compatible. But the 1.x versions do not include a plugin for CKeditor 5. Using a 1.x version only makes sense together with the CKeditor 4 contrib module (https://www.drupal.org/project/ckeditor).
Credits
This module is loosely based on the work of Kgaut (https://www.drupal.org/u/kgaut) in https://www.drupal.org/project/ckeditor_responsive_plugin.
Ask your assistant about CKEditor Layouts
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- ckeditor5 Drupal core
- layout_discovery Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Ckeditor ecosystem
Most installed first