dasmikko / strapi-tiptap-editor

A drop-in replacement for the strapi editor
MIT License
64 stars 29 forks source link

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

Open T-Gwynbleidd opened 2 years ago

T-Gwynbleidd commented 2 years ago

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?

dasmikko commented 2 years ago

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

T-Gwynbleidd commented 2 years ago

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

SalahAdDin commented 2 years ago

@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.