Possibility of inheriting classes from main page heading tags?

Created on 15 August 2024, 4 months ago

Problem/Motivation

We use the Paragraphs TOC β†’ module to place ToCs on the page.

With this module we are able to 'carry over' classes from the main page 'headings' to the ToC and as a consequence of that, we are able to style them slightly differently like this…

We would like to move to ToC.js as it has several other advantages but there is no such iinheritance of of the <h> classes.

Wondering whether the option to 'carry over' one or more classes might be a useful option for others - it certainly would for us.

Thank you

✨ Feature request
Status

Active

Version

2.1

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024