Auto Add HTML Anchor to Heading Block

The HTML anchor field allows you to add jump links to your content. This means that when you click on a link, it will jump to the respective content associated with the link. This is particularly useful if you are going to add a Table of Content (TOC) to your article.

The “Auto Add HTML Anchor to Heading Block” module can populate the HTML Anchor field with the heading text when you add a new (or edit existing) Heading block.

Activate the Auto Add Anchor Target to Headings Block Module

In the Admin Optimizer Modules page, navigate to the Content Management section. Click to enable the Auto Add HTML Anchor to Headings Block module. Press Save Changes to save the changes.

Activate Auto Add Html Anchor Module

Verify the module is working

Open a post in the Post editor. Add a Heading block and type a heading text. Now open the “Advanced” section in the Block side panel. You should see the HTML Anchor field populated with the heading type.

Auto Add Anchor Module Verification