- Issue created by @SirClickALot
- π«π·France mably
A new configuration option could be added to allow such behavior.
@SirClickalot could you explain a bit more in detail how it is supposed to work?
Are we just supposed to extract the class names from the page headings and inject them in the corresponding
<li>
ToC elements? - π¬π§United Kingdom SirClickALot Somerset
@mably,
Yes, exactly that so that we can style the ones in the ToC differently as illustrated in a bit more detail belowβ¦
Mayeb even better, would be if we could specify a list of classes that should be inherited via a simple configuration input box β this way we could get what we need but avoid unecessary clutter.
I think this feature will bring a lot of extra flexibiliy to the ToC.js module.
Thank you for your interest and quick response.
- π«π·France mably
@SirClickalot will try to create an MR which implements that inheritance CSS classes whitelist configuration option.
- Assigned to mably
- Merge request !16Issue #3468365: Possibility of inheriting classes from main page heading tags? β (Merged) created by mably
- π«π·France mably
@SirClickalot could you give a try to this issue's MR?
A new configuration option has been allow allowing to define a whitelist of headings CSS classes:
- Status changed to Needs review
4 months ago 5:18pm 16 August 2024 - π¬π§United Kingdom SirClickALot Somerset
I tried to apply patch from Merge request !16 using my IDE but I get a whole lot of complaints from the attempt starting withβ¦
Currently I have patches: 12, and 13 applied.
- π«π·France mably
Probably some patches conflicting.
Try applying just this one.
- π¬π§United Kingdom SirClickALot Somerset
Excellent, thanks for the advice.
Yes, I can confirm that the latest DEV module with patch 16 does the job nicely. - Status changed to RTBC
4 months ago 8:04am 17 August 2024 - π«π·France mably
@SirClickalot thanks for the test π
@flocondetoile ok for merging?
- Status changed to Fixed
4 months ago 8:54am 17 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.
- Issue was unassigned.