react-rte
react-rte copied to clipboard
Appending custom html in the editor
I am currently using react-rte version 0.16.3 and having a bit of difficulty as to how can I append custom html string after the current cursor position.
For example I have the string which is basically a button.
<a href=some-link target="_blank"> <button style="background-color:#b32aa9;color:#000000" type="button">Button Name</button> </a>
How do I approach towards it? I can't seem to find any documentation regarding it. I'd appreciate the help!