Why are the leading and trailing whitespace in a text node encoded? #1919
Answered by
Saul-Mirone
May 29, 2025
Replies: 1 comment
|
Prosemirror will use them to handle the leading/trailing whitespace to avoid bugs in some browsers like older versions of ios safari |
0 replies
Answer selected by
KBHertzog
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Prosemirror will use them to handle the leading/trailing whitespace to avoid bugs in some browsers like older versions of ios safari