codex-team / codex-team/editor.js
Output includes Html specific
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
I though the idea was that the editor produces agnostic JSON content. However, I'm getting Html specific non-breaking space entities when a sentence has more than one space between words.
~~~json
{
"id": "wxJZ4SvPNl",
"type": "paragraph",
"data": {
"text": "He entered the..."
}
}
~~~
Shouldn't that simply be literal spaces, not Html? If I'm missing something, please let me know.
Thanks!
Using latest version: **v2.26.5**
**Edit:** I see the same thing when a word is bolded. The JSON is not agnostic; it's using Html. I remember reading about that in another issue and how it would be complicated to break into bold blocks or something. Seems that spaces could simply be literal spaces, though.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.