You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1!
I had an issue with this recently...
Draft editor had only 1 blank line between texts. After export, this one line looked like this ...</p>\n<p><br></p>\n<p>.... So many new lines...
I had html to text converter which converted this to 5 blank lines 🤣, instead of one... I think <p> tags were also treated as new lines as in css.
draft-js-utils/packages/draft-js-export-html/src/stateToHTML.js
Line 499 in 85b9d7e
Why do you keep "\n" char in html string after
. This can create issues when using the string containing "\n" with a FormData e.g. (https://stackoverflow.com/questions/69835705/formdata-textarea-puts-r-carriage-return-when-sent-with-post)
The text was updated successfully, but these errors were encountered: