Silverstripe Version: 4.4.4
Question: How to make anchors that can be detected by the HTML content editor
I have a page with a lot of large custom content blocks on it and want to be able to have quick links to each block at the the top of the page.
I have added the following tags at the beginning of each block’s template file but this does not produce links which the HTML editor can discover.
<a id="CustomBlock-{$ID}"></a>
Is there any way to add automatic IDs to a block that are discoverable by the HTML editor?