• Resolved telsenome

    (@telsenome)


    The plugin is activated and I don’t get any error messages when saving (visual ones at least).

    Expected behaviour: headings get id attributes automatically.
    Actual behaviour: nothing happens

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author xnau webdesign

    (@xnau)

    This plugin is not compatible with the Gutenburg block editor. I need to update it, I’m sorry.

    Thread Starter telsenome

    (@telsenome)

    Thank you for the reply. Are you having plans of updating it?

    Plugin Author xnau webdesign

    (@xnau)

    It is planned, but the block editor works ina completely different way, it all needs to happen in javascript instead of php. It will require basically starting from scratch.

    Thread Starter telsenome

    (@telsenome)

    I see. do you have a timeline for this? Or will you look at it whenever you have the time? ??

    Plugin Author xnau webdesign

    (@xnau)

    I’m sorry…no timeline…it is a bit of a major project and my time for plugin development is limited these days.

    The block editor does make this somewhat easier: if you add a heading to a page, that heading can have an “id” attribute added by going to the block properties (column on the right in the editor), under the “advanced” tab, you can set the “HTML anchor” for the heading.

    Once that is done, you can use the linker to set up a link that goes to that anchor.

    The UI could be improved, but it’s not as difficult as it was with the old classig editor.

    Thread Starter telsenome

    (@telsenome)

    Thank you. Good luck with the development if/when you do it! Have a nice day!

    Thread Starter telsenome

    (@telsenome)

    Hi @xnau, I’m wondering if the code for this plugin is open source? We want to add this feature to our WP site and might be able to help you develop it.

    Plugin Author xnau webdesign

    (@xnau)

    Yes, of course, the github repo is:

    https://github.com/xnau/content-anchor-links

    submit a pull request, I’m happy to have your input and add you to the plugin if you’re willing.

    Thread Starter telsenome

    (@telsenome)

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘No ids are inserted into headings’ is closed to new replies.