CKEditor Accordion
This module adds a new button to CKEditor that allows users to create and display content in an accordion format. It supports both CKEditor 4 and 5 installations.
Allows users to create & display content in an accordion.
Description
Adds a new button to Drupal's built in CKEditor which allows the user to create & display any type of content in an accordion format.
The styling is minimal blue and easily over writeable by developers.
Version 2 supports both CKEditor 4 & 5, with an upgrade path included for those looking to upgrade their version.
CKEditor 5 Installation
- Install & Enable the module
- Open Administration > Configuration > Content authoring > Text formats and editors (admin/config/content/formats)
- Edit a text format's settings (usually Basic HTML)
- Drag n Drop the Add Accordion -button to the toolbar to show it to the users
CKEditor 4 Installation
- Install & Enable the module
- Open Administration > Configuration > Content authoring > Text formats and editors (admin/config/content/formats)
- Edit a text format's settings (usually Basic HTML)
- Drag n Drop the Add Accordion -button to the toolbar to show it to the users
- Scroll down to the bottom to the input Allowed HTML tags
- Find and replace
<dl>with<dl class>
This makes sure CKEditor doesn't remove the class name that the accordion uses.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.