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
Just getting started on an email compose screen at work. First thing I noticed is that when I open the editor and pass in a user's signature (html), there is a bunch of extra line breaks.
(Signature in TinyMCE in our web app)
(HTML stored in the DB)
<p>Joe Demo<br>
Business Manager<br>
<a href="https://www.example.com">https://www.example.com</a><br>
m: 555-555-1212</p>
(Signature in FlutterSummernote)
Pretty sure this is because of the code that replaces line breaks with <br/> in setText method. (e.g. .replaceAll("\n", "<br/>"))
I would be happy to fork your repo and put up a PR with a new property that makes this optional. Is that something you would be interested in?
The text was updated successfully, but these errors were encountered:
Just getting started on an email compose screen at work. First thing I noticed is that when I open the editor and pass in a user's signature (html), there is a bunch of extra line breaks.
(Signature in TinyMCE in our web app)
(HTML stored in the DB)
(Signature in FlutterSummernote)
Pretty sure this is because of the code that replaces line breaks with
<br/>
in setText method. (e.g..replaceAll("\n", "<br/>")
)I would be happy to fork your repo and put up a PR with a new property that makes this optional. Is that something you would be interested in?
The text was updated successfully, but these errors were encountered: