Replies: 1 comment
-
Sorry, I didn't see your issue at first, I created a duplicate at #1624 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
HI there, I love your editor, and when I was first rolling my own solution, I came up with an API similar to your block API. One thing I noticed however when playing with your homepage demo, was that if you highlight a word and make it bold, it goes from:
to
The tag inside is not ideal for use in React. To parse it I would need to do some string manipulation to strip it out and replace it properly. Do you have an alternative to this?
Context
I want to use this in React, and of course I need only JSON data, no tags within the data.
Related issues
If there are related issues which describe a bugs or features, put them here
Comments
So like I said when I was coming up with a solution myself my API was similar but slightly different. If I wanted to bold a word in the middle of a sentence, I would do something like:
Beta Was this translation helpful? Give feedback.
All reactions