CKEditor Accordion
Categories
Component ID
2751669
Component name
CKEditor Accordion
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
8251
Component created
Component changed
Component body
Allows users to create & display content in an accordion.
Description
Adds a new button to Drupal 8'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.
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.
