You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great to have an easy way to create anchor links in content in the CMS. (Eg: to the "Get in Touch" module, or from one section of content to another H2 or H3 heading somewhere else on the same page.)
The text was updated successfully, but these errors were encountered:
Someone else is working on a similar project here but haven't spun it out as a separate module yet (issue for that here).
Until one of those modules becomes viable there's not a lot of options - I don't have the time at the moment to roll my own CKEditor plugin to add this. But I will keep this issue in the backlog so it doesn't go missing.
In the meantime, anchor links can be added via HTML:
Add the anchor: <a id="target-name"></a>
Link to the anchor using the existing tool and the URL: #target-name.
For example, to add an anchor to a heading: <h2><a id="working-at-the-dta"></a>Working at the DTA</h2>
And then to link to it - this HTML will be generated by the linking tool: <a href="#working-at-the-dta>Working at the DTA</a>
Or from another page - also cna be added with the linking tool: <a href="https://url.of.another/page#working-at-the-dta">Working at the DTA</a>
This functionality was removed from core for reasons listed here.
Would be great to have an easy way to create anchor links in content in the CMS. (Eg: to the "Get in Touch" module, or from one section of content to another H2 or H3 heading somewhere else on the same page.)
The text was updated successfully, but these errors were encountered: