Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How can i load the accordian so all divs are closed initially?
Comment | File | Size | Author |
---|---|---|---|
#11 | ckeditor-accordion-collapse-all-2914420-11-D7.patch | 5.01 KB | david.lopez |
#4 | ckeditor-accordion-collapse-all-2914420-4-D8.patch | 4.81 KB | ricovandevin |
Comments
Comment #2
ricovandevin CreditAttribution: ricovandevin at Finlet for One Shoe commentedAlso looking for a way to set all tabs to closed initially.
Comment #3
ricovandevin CreditAttribution: ricovandevin at Finlet for One Shoe commentedPS @wheretoplaygames Can you split your two questions in two separate issues? It will make it easier for the maintainers and the community to work on fixing the issues.
Comment #4
ricovandevin CreditAttribution: ricovandevin at Finlet for One Shoe commentedHere is a patch against 8.x-1.x-dev. It adds a configuration page on /admin/config/content/ckeditor-accordion on which you can set all tabs collapsed by default.
Comment #6
j-vee CreditAttribution: j-vee as a volunteer commentedThanks @ricovandevin !
The patch worked great for me. I pushed it onto a new dev release for now.
Comment #7
wheretoplaygames CreditAttribution: wheretoplaygames commentedComment #8
alboyd CreditAttribution: alboyd commentedHow to do the same thing (collapse all as default) in D7?
Awesome module by the way!
Comment #9
kduryee CreditAttribution: kduryee commentedI second the request for having an all-closed configuration for Drupal 7! Thanks for a very cool module also.
Comment #10
wheretoplaygames CreditAttribution: wheretoplaygames commentedComment #11
david.lopez CreditAttribution: david.lopez commentedThe D7 version of the patch, for 7.x-1.0 version.
- Adds a config path in admin/settings/ckeditor_accordion
- Disabled by default
Comment #12
j-vee CreditAttribution: j-vee as a volunteer commentedFixed with latest recommended release for both D7 and D8.
Comment #13
j-vee CreditAttribution: j-vee as a volunteer commentedComment #14
j-vee CreditAttribution: j-vee as a volunteer commented