buttondown / tiptap-footnotes

A footnotes extension for Tiptap
MIT License
42 stars 5 forks source link

Ability to rename attribute `data-id`. #11

Open StephanMeijer opened 2 weeks ago

StephanMeijer commented 2 weeks ago

Currently in our application we use an id attribute on every element (except Text node). We would like to reuse this name in your extension. Is there any possibility you'd be willing to make the name of the data-id^1 attributes configurable?

jmduke commented 2 weeks ago

Yup, this seems pretty trivial to do. PR welcome, otherwise @mary-ext is out this week but I can entreat her to tackle it when she gets back!

StephanMeijer commented 2 weeks ago

@jmduke Thanks for your fast response! Also reached out to you by email :).