- This topic has 10 replies, 3 voices, and was last updated 5 months, 1 week ago by Dan.
May 28, 2020 at 1:10 pm #1305532Dan
I am using the GB heading block along with the Table of contents block – that can be downloaded from here:
The problem is, that heading created with GenerateBlock do not work with the table of contents block.
Changing them to the core heading block does work.
What I noticed is that the GB will no allow an ID to be added to the heading tag, while the core heading block do allow.
That is why the GB headings do not show up in the TOC.
Any ideas how to solve this as I do want to use the GB heading in my articles.
DanMay 28, 2020 at 2:33 pm #1305618TomLead DeveloperLead Developer
There should be an ID option in the Headline block: https://www.screencast.com/t/Iph7xnCpdA
Are you not seeing that?
Let me know 🙂May 28, 2020 at 2:35 pm #1305620Dan
The plugin automatically adds the id to the heading. no need to add them manually. It does so with the core heading blocks but not with the GB heading blocks.May 29, 2020 at 8:58 am #1306605TomLead DeveloperLead Developer
In that case, it’s likely that the plugin is specifically targeting the core Heading block. They would need to check for the Headline block as well or change the way they target elements to look for headings (h1-h6).May 29, 2020 at 10:39 am #1306802Dan
I see, so it’s best to contact the plugin developer and ask him to target a wider set of blocks, ie all heading tags.
DanMay 29, 2020 at 4:00 pm #1307066TomLead DeveloperLead DeveloperAugust 11, 2020 at 7:24 am #1397104Robert
I have had the same issue and would like to do the same thing.
Did you get any joy from that TOC plugin developer?
RobAugust 11, 2020 at 7:41 am #1397130Dan
Hi Rob, no.
But maybe if you contact him too it could help.
DanAugust 11, 2020 at 8:32 am #1397357Robert
This is a reply from UltimateBlocks their TOC block is very simple:
Imtiaz Rayhan wrote:
We have added support for third-party heading blocks before.
I believe we can do it for GenerateBlocks too.
Please allow us some time to look into it.
We will let you know as soon as we have something.
Kind Regards.August 11, 2020 at 8:45 am #1397373LeoStaffCustomer SupportAugust 11, 2020 at 9:55 am #1397492Dan
- You must be logged in to reply to this topic.