Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appending custom html in the editor #435

Open
haresh6x opened this issue Feb 25, 2022 · 0 comments
Open

Appending custom html in the editor #435

haresh6x opened this issue Feb 25, 2022 · 0 comments

Comments

@haresh6x
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant