tmail-flutter
tmail-flutter copied to clipboard
Copy and paste rich text in composer leads to overlap
Description
I copy and pasted text from an ODT document.
I noticed the styling makes no line break, leading to text overlap which is not beautiful.
Expected result
I expect no overlap.
Current behavior
Reproduction Steps
Context
tmail.linagora.com v0.11.3-patch4-v2
The display of the email generated by tmail in thunderbird is also fucked up
So do not change HTML viewing
However if I do the same operation in tb the email generated is actually correctly folded
So please look in the direction of "copy and pasted text formated by other tools"
If need be I'd even agree to unformat text pasted from external stuff.
Propose
- Change style of html text with property
line-height: 1px;toline-height: 100%;
Only on Chrome
Related issues
https://github.com/summernote/summernote/issues/3983 https://github.com/summernote/summernote/issues/3638
Solution
Both of the above issues suggest changing the line height to 100% should be the fix. I will be using the suggested method in https://github.com/tneotia/html-editor-enhanced/issues/257 to implement it.