• Hello, does this block work with other languages, for example, with Cyrillic. Although it is possible that the plugin does not prescribe anchors to the headers

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,
    For cyrillic you need to define anchors for your headings. Currently, there isn’t a javascript sanitization to convert Cyrillic to any meaningful web safe text to form consistent unique anchors.

    It just means for you to add an anchor in the advanced settings of your heading blocks.

    https://share.getcloudapp.com/eDuRY49q

    Ben

    Thread Starter LinuxMaster Club

    (@linuxmasterclub)

    I know about this: that I can set the necessary anchors myself. At the moment, I use the LuckyWP Table of Contents plugin and it adds anchors by itself, and it is good, although now it has not generated headers automatically.

    There is a GutenTOC plugin, so it automatically generates headers, although case-insensitive.

    Example: https://artsiberia.ru/hello-world-2/

    Is it possible to do the same, but case-sensitive?

    Hi,
    Your example doesn’t work because you ID has Cyrillic characters which cause an error when you try to click on one.

    I’m not sure what you are asking?

    Ben

    Thread Starter LinuxMaster Club

    (@linuxmasterclub)

    Hi, I’m wondering if there will be Cyrillic support?

    Hi,
    There is support already. The Cyrillic characters are striped out to prevent an error and will work as long as there are some leftover characters to use. And if you set a custom websafe anchor it works fine.

    As for creating a custom websafe anchor automatically that also checks for uniqueness, it’s something I’m looking into however note that the anchors would be generated numbers and letters. It’s still a better experience to create a custom websafe anchor that makes sense for the context of your page.

    Ben

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Table of contents Block’ is closed to new replies.