CKEditor 5 Bootstrap Accordion

CKEditor 5 Bootstrap Accordion screenshot
 CKEditor 5 Bootstrap Accordion

CKEditor 5 Bootstrap Accordion allows accordions to be seamlessly inserted into content on your Bootstrap-enabled Drupal website. Use Drupal’s inbuilt CKEditor to easily insert, move, or delete accordions with text and other elements in a fully WYSIWYG experience. Works with Bootstrap 5.

All Features

For content editors

  • Add an accordion and insert or delete accordion items conveniently from the CKEditor toolbars.
  • Choose to open the first item or all items individually for each accordion.
  • Accordions work right out of the box, no extra CSS or JavaScript is required on your site if it already uses Bootstrap 5's provided CSS and JavaScript.
  • Accordion-in-accordion nesting is supported.

For developers

  • Build a custom CKEditor 5 plugin to add your own items to an accordion's toolbar, simply by altering the bootstrapAccordion.toolbarItems configuration.
  • Customize accordion styling by overriding Bootstrap 5's CSS variables, and style accordions to match your site's theme while keeping their functionality intact.