I am having second thoughts. If I understood correctly, the idea is to
continue adding to the pre-existing element at the end of the line
instead of adding a new element which will lose the style or font. Is
this really the correct approach?

I have three more questions in this context:
1) The paragraph is created when replying to an e-mail does have the correct 
style/font. It only gets lost after moving the caret around in the e-mail. How 
does Thunderbird communicate to the editor which style to use in the first 
place, in the case comment #23, the <tt>? Why can't this method be used for any 
subsequently created text elements? Currently further text elements are created 
with the "default" font, which is also configured in Thunderbird and must be 
communicated somehow to the editor.
2) Over in bug 1100966 (spell checker losing red underlines) another node is 
also created when clicking at the end of the line. Upon backspace, this node 
becomes empty and is merged (badly) with the preceding one, which in turn loses 
the underlines. Why didn't we consider to continue the existing node instead of 
creating a new one? In this case the merge would not happen.
3) Another problem with losing the style/font can be observed after inserting 
an image, see comment #14. I think the proposed approach of reusing a 
pre-existing text element can't be used here, since the preceding element is an 
image. So wouldn't it be easier to make sure the chosen style/font is observed 
when creating another text element after the image?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/584632

Title:
  composer changes font mid email

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/584632/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to