- Issue created by @SirClickALot
- π«π·France mably
I guess we could add a configuration option to allow custom class names for the
<li>
elements... - Merge request !12Issue #3468378 by mably: Applying styles to <li> elements in the ToC β (Merged) created by mably
- π«π·France mably
@SirClickalot could you give a try to this issue's MR and see if it solves your problem?
I implemented a new configuration option allowing to define a space separated list of CSS classes to add to the LI elements of the ToC.
- Assigned to mably
- Status changed to Needs review
4 months ago 5:46pm 15 August 2024 - π¬π§United Kingdom SirClickALot Somerset
@mably,
I have downloaded the DEV version but I am not seeing the 'ToC list element CSS classes' that you illustrate above?
- π«π·France mably
@SirClickalot you can download the code from the issue's Gitlab merge-request branch here:
https://git.drupalcode.org/issue/toc_js-3468378/-/tree/3468378-li-custom...
Direct ZIP download link:
https://git.drupalcode.org/issue/toc_js-3468378/-/archive/3468378-li-cus...
- π¬π§United Kingdom SirClickALot Somerset
@mably
Got it, thank you.
I can confirm that the new feature works perfectly ;-)
- Status changed to RTBC
4 months ago 1:08pm 16 August 2024 - Status changed to Fixed
4 months ago 8:43am 17 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.
- Issue was unassigned.