This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Line wrap length in HTML composition

more options

In Thunderbird 78, while composing mail in HTML, is there a way to wrap long lines to, say 72 characters? It works only in plain text mode composition. In HTML, the line does not wrap.

I have tried all sorts of options including some of the legacy ones like "editor. htmlWrapColumn" and other related config editor options like wrap_to_window_width, etc. Nothing works.

I am looking for a way to insert a line break <br> tag after every 72 characters. Is there anyway in Thunderbird 78.*?

In Thunderbird 78, while composing mail in HTML, is there a way to wrap long lines to, say 72 characters? It works only in plain text mode composition. In HTML, the line does not wrap. I have tried all sorts of options including some of the legacy ones like "editor. htmlWrapColumn" and other related config editor options like wrap_to_window_width, etc. Nothing works. I am looking for a way to insert a line break &lt;br&gt; tag after every 72 characters. Is there anyway in Thunderbird 78.*?

Modified by Suprateeka R Hegde

All Replies (2)

more options

I think the simplest way is given here: https://superuser.com/a/521637 Compose html messages with something like ThunderHTMLedit and specify the width explicitly. Or, create a template with the width declaration entered by Insert/HTML... in an html message.

The only wrap preference that matters is mailnews.wraplength, that controls the width of composed plain text mail. The default is 72, and a value of 0 makes text wrap to the window width.

more options

I have tried all those. But adding all such HTML tags is totally non-productive. The nearest solution I could get is add a property under Inline Styles. See the screenshot. But this approach does not solve the problem. Issue with this approach are:

  • It is per message and not a global setting. Anyway to make it global?
  • It still does not insert a <br>. All it does is add the "width" property and an e-Mail like MS Outlook may render it differently. But I am still OK with this, provided I can apply this setting globally.

Please help.