Backend editor for the accordion, content added / edited using context menu

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

  1. Install & Enable the module
  2. Open Administration > Configuration > Content authoring > Text formats and editors (admin/config/content/formats)
  3. Edit a text format's settings (usually Basic HTML)
  4. Drag n Drop the Add Accordion -button to the toolbar to show it to the users

CKEditor 4 Installation

  1. Install & Enable the module
  2. Open Administration > Configuration > Content authoring > Text formats and editors (admin/config/content/formats)
  3. Edit a text format's settings (usually Basic HTML)
  4. Drag n Drop the Add Accordion -button to the toolbar to show it to the users
  5. Scroll down to the bottom to the input Allowed HTML tags
  6. Find and replace <dl> with <dl class>

    This makes sure CKEditor doesn't remove the class name that the accordion uses.
Supporting organizations: 
Created and maintains the project
Backport to D7

Project information

Releases