strapi-tiptap-editor icon indicating copy to clipboard operation
strapi-tiptap-editor copied to clipboard

Is it possible to add id's in order to use anchors on the Headings?

Open T-Gwynbleidd opened this issue 3 years ago • 3 comments

I've installed this to add some Rich text editor functionality, and can easily add headings etc, but can't add an id onto them to use them as internal anchor points when linking to the page. For example, a Table of Contents component.

Is this possible?

T-Gwynbleidd avatar Oct 17 '22 10:10 T-Gwynbleidd

Currently no. But I might be able to whip something together that would allow for this.

dasmikko avatar Oct 20 '22 10:10 dasmikko

No worries. I managed to programmatically add id's on the FE. Though it would still be a good feature in the CMS.

T-Gwynbleidd avatar Oct 20 '22 11:10 T-Gwynbleidd

@dasmikko is it also related to a premium plugin, isn't it?

We could find a similar plugin from the community, cause this idea is pretty cool @T-Gwynbleidd.

SalahAdDin avatar Nov 17 '22 08:11 SalahAdDin