• Resolved arcticsail

    (@arcticsail)


    Hi,
    I just wondered if there was anything that I can do to make the Ultimate Blocks Table of Contents block recognize the Generate Blocks Headline Block?

    Regards,
    Rob

    PS
    This is what the developers at Generate Blocks suggested:

    Hi there,

    I believe those plugins would have to add compatibility with the Headline block. I assume they’re specifically targeting the core Heading block in their code.

    If they won’t add compatibility, a filter or something would be helpful so you can add your own blocks for them to recognize. Worth asking their developers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter arcticsail

    (@arcticsail)

    I have just found further info from the GenerateBlocks Developer asked about the lack of compatibility of a Table of Contents plugin with the GenerateBlocks Headline:

    “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).”

    “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.”

    “That would be best ??”

    Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @arcticsail,

    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.

    Plugin Contributor Alexis Pandaan

    (@alexius08)

    Hi @arcticsail!

    We have released a new version of the plugin. Our Table of Contents block should now be able to detect headings from GenerateBlocks. Please update to the latest version.

    Thread Starter arcticsail

    (@arcticsail)

    Legends!

    Thank you so much, works like a dream and love the other improvements (selecting each heading individually etc)

    Great works.

    Cheers,
    Rob

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Table of Contents compatible with Generate Blocks’ is closed to new replies.