jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.41k stars 1.16k forks source link

not able to add classes and data-code attribute to anchor tag. #1293

Open abhisheksahore opened 2 years ago

abhisheksahore commented 2 years ago

Hi,

I want to insert an anchor tag that can be deleted just like mentions in react-draft-wysiwyg with data-code attribute and custom CSS. but I want to add it using an external button.

I have tried and the link is getting added but I am not able to add classes and data-code attributes to it.