Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Switching between plain text/HTML when writing

463 views
Skip to first unread message

Tiger

unread,
Oct 9, 2012, 4:47:44 PM10/9/12
to
Is there an add-on which allows me to change between HTML and plain text
when writing a new message/replying?
I sometimes find myself writing a new message (which defaults to plain
text -I believe I've configured this in the settings, which is what I
want for the most part) only to find out that I need it to be stylizing
in HTML instead. A "switch between plain text/HTML" button in the
toolbar area would be nice.

I'm using Thunderbird 3.1.20 (the latest version possible on my PPC Mac)
but haven't so far found anything like that compatible with my version.

Beauregard T. Shagnasty

unread,
Oct 9, 2012, 5:11:09 PM10/9/12
to
Tiger wrote:

> Is there an add-on which allows me to change between HTML and plain text
> when writing a new message/replying?
> I sometimes find myself writing a new message (which defaults to plain
> text -I believe I've configured this in the settings, which is what I
> want for the most part) only to find out that I need it to be stylizing
> in HTML instead. A "switch between plain text/HTML" button in the
> toolbar area would be nice.

Hold down the Shift key when you click the Compose/Write button, and the
resulting window should have the HTML toolbars and stuff.

Hopefully, you didn't mean that you want to switch types while already in
the middle of a compose task. That won't work. It's one or the other.

--
-bts
-This space for rent, but the price is high

Chris Ramsden

unread,
Oct 9, 2012, 5:38:23 PM10/9/12
to support-t...@lists.mozilla.org
> I sometimes find myself writing a new message (which defaults to plain
> text -I believe I've configured this in the settings, which is what I
> want for the most part) only to find out that I need it to be stylizing
> in HTML instead. A "switch between plain text/HTML" button in the
> toolbar area would be nice.
>
> I'm using Thunderbird 3.1.20 (the latest version possible on my PPC Mac)
> but haven't so far found anything like that compatible with my version.

Hold down shift whilst clicking on Write, Forward or Reply to toggle to
the alternative (non-default) mode.

Of course, this relies on you accurately remembering which is the
default mode for each account. And that you can decide upfront which
mode you need. ;)

There are add-ons that provide a drop-down button so you can make an
explicit choice when replying. Paolo Kaosmos has several at his nicnac site:

https://nic-nac-project.org/~kaosmos/index-en.html#frwas
https://nic-nac-project.org/~kaosmos/realborders-en.html
...and maybe:
https://nic-nac-project.org/~kaosmos/changequote-en.html

I don't know of such a button for your situation when you're writing a
/new/ message. In theory, HTML mode has a menu selection to enable plain
text: *Options|Format|Plain Text Only*

...but ISTR that it doesn't generate pure plain text.

I suspect that plain text and HTML modes are sufficiently different that
it would be non-trivial to switch between them on the fly. I imagine it
would have to compose in rich text by default, the plain text version
giving you just the raw text with all tags and embellishments disabled;
but what would it do if you composed in HTML, switch to plain, added
some more words, then back to HTML? What formatting would (could) it
apply to the text added in plain text mode? I guess you'd have to select
it and manually apply a formatting style. :(

goodwin

unread,
Oct 9, 2012, 7:50:28 PM10/9/12
to
On 10/09/2012 02:11 PM, Beauregard T. Shagnasty wrote:

> Hopefully, you didn't mean that you want to switch types while already in
> the middle of a compose task. That won't work. It's one or the other.

no, thats what he said.
What next?

goodwin

unread,
Oct 9, 2012, 7:56:21 PM10/9/12
to
On 10/09/2012 02:38 PM, Chris Ramsden wrote:
>> I sometimes find myself writing a new message (which defaults to plain
>> text -I believe I've configured this in the settings, which is what I
>> want for the most part) only to find out that I need it to be stylizing
>> in HTML instead. A "switch between plain text/HTML" button in the
>> toolbar area would be nice.
>>
>> I'm using Thunderbird 3.1.20 (the latest version possible on my PPC Mac)
>> but haven't so far found anything like that compatible with my version.
>
> Hold down shift whilst clicking on Write, Forward or Reply to toggle to
> the alternative (non-default) mode.
>

this sets the mode for /that/ message, not for that keystroke

<snip>

>
> There are add-ons that provide a drop-down button so you can make an
> explicit choice when replying. Paolo Kaosmos has several at his nicnac site:
>
> https://nic-nac-project.org/~kaosmos/index-en.html#frwas
> https://nic-nac-project.org/~kaosmos/realborders-en.html
> ...and maybe:
> https://nic-nac-project.org/~kaosmos/changequote-en.html
>

those have nothing to do with the issue OP brought up

<snip 100 words meaning it can't be done>

Beauregard T. Shagnasty

unread,
Oct 9, 2012, 9:58:58 PM10/9/12
to
goodwin wrote:

> Beauregard T. Shagnasty wrote:
>> Hopefully, you didn't mean that you want to switch types while already
>> in the middle of a compose task. That won't work. It's one or the
>> other.
>
> no, thats what he said.

No it isn't as I interpret it. But I asked just to be sure. If you read
his post (which you snipped) the order of his words indicates that he's
started a new message or reply and finds that he wants it to be in HTML.

> What next?

I dunno. What did you mean by that?

goodwin

unread,
Oct 10, 2012, 1:27:46 AM10/10/12
to
On 10/09/2012 06:58 PM, Beauregard T. Shagnasty wrote:
> goodwin wrote:
>
>> Beauregard T. Shagnasty wrote:
>>> Hopefully, you didn't mean that you want to switch types while already
>>> in the middle of a compose task. That won't work. It's one or the
>>> other.
>>
>> no, thats what he said.
>

I meant that you were hoping he didn't want was in fact what he wanted

> No it isn't as I interpret it. But I asked just to be sure. If you read
> his post (which you snipped) the order of his words indicates that he's
> started a new message or reply and finds that he wants it to be in HTML.

Quote:

"I sometimes find myself writing a new message (which defaults to plain
text -I believe I've configured this in the settings, which is what I
want for the most part) only to find out that I need it to be stylizing
in HTML instead."
>

to which you replied:

"Hopefully, you didn't mean that you want to switch types while already
in the middle of a compose task."

which elicited my reply which meant to say

no, that is what he meant.

>> What next?
>
> I dunno. What did you mean by that?
>

I meant what next for another feature request a user wants to tailor the
software to their quirks.

As for quoting text, there was no need IMO - I was replying to you and
expected you would remember what you wrote.

Dave Royal

unread,
Oct 10, 2012, 3:58:09 AM10/10/12
to
On Tue, 09 Oct 2012 22:47:44 +0200, Tiger wrote:

> Is there an add-on which allows me to change between HTML and plain text
> when writing a new message/replying?

I don't think so - I looked once. It would be useful - I normally compose
in plain text and occasionally want to change, usually to add a link. So
I copy the text and start again in html using the shift-new feature.

It's been suggested before:
https://bugzilla.mozilla.org/show_bug.cgi?id=216132

Dave
--
(Remove any numerics from my email address.)

Jay Garcia

unread,
Oct 10, 2012, 9:50:37 AM10/10/12
to
On 10.10.2012 02:58, Dave Royal wrote:
The question has already been answered as asked. What the OP wants to
know is how to switch to composing a NEW message in HTML if his prefs
are set to compose in plain text. That was answered.

To answer your "link" issue. You don't need to be in HTML mode to enter
a link. A link added while in text mode will appear as a hot link to the
recipient. For example, I am composing this in text mode:

link = http://www.mozilla.org

Appears not clickable when composing but will be clickable once posted
to the group.

--
Jay Garcia - www.ufaq.org - Netscape - Firefox - SeaMonkey - Thunderbird
Mozilla Contribute Coordinator Team - www.mozilla.org/contribute/
Mozilla Mozillian Member - www.mozillians.org
Mozilla Contributor Member - www.mozilla.org/credits/

Dave Royal

unread,
Oct 10, 2012, 11:58:01 AM10/10/12
to
On Wed, 10 Oct 2012 08:50:37 -0500, Jay Garcia wrote:
> The question has already been answered as asked. What the OP wants to
> know is how to switch to composing a NEW message in HTML if his prefs
> are set to compose in plain text. That was answered.
>
I disagree with your interpretation of the question - but that's already
been argued over so never mind.

> To answer your "link" issue. You don't need to be in HTML mode to enter
> a link...
Yes, I know that. But sometimes I want an _html_ link - particularly if
the URL is a long one that will wrap and I'm emailing somebody you might
not spot that.

Deciding I want some colours or columns would be an other example.

It would be a useful feature. Interesting that, after all these years,
that bug has had a flurry of activity.

Beauregard T. Shagnasty

unread,
Oct 10, 2012, 12:24:12 PM10/10/12
to
Dave Royal wrote:

> Jay Garcia wrote:
>> To answer your "link" issue. You don't need to be in HTML mode to enter
>> a link...

> Yes, I know that. But sometimes I want an _html_ link - particularly if
> the URL is a long one that will wrap and I'm emailing somebody you might
> not spot that.

What is an _html_ link? http://example.com/something.html is an html
link. If you're worried about wrap, normally enclosing your long link in
"<>" brackets will keep it clickable in even clueless email clients and
newsreaders.

<http://example.com/making-up-a-really-really-really-really-long-link-that-
should-wrap-about-there-somewhere-or-another/test/html>

A link is a link is a ros^Wlink. Plain text or HTML, it's the same.

Dave Pyles

unread,
Oct 10, 2012, 2:09:56 PM10/10/12
to
Beauregard,

Foe what it's worth, your long link surrounded with <> broke and was not
clickable in my Thunderbird window.

Dave Pyles

Beauregard T. Shagnasty

unread,
Oct 10, 2012, 4:22:17 PM10/10/12
to
Dave Pyles wrote:
> Beauregard T. Shagnasty wrote:
>> Dave Royal wrote:
>>> Jay Garcia wrote:
>>>> To answer your "link" issue. You don't need to be in HTML mode to enter
>>>> a link...
>>
>>> Yes, I know that. But sometimes I want an _html_ link - particularly if
>>> the URL is a long one that will wrap and I'm emailing somebody you might
>>> not spot that.
>>
>> What is an _html_ link? http://example.com/something.html is an html
>> link. If you're worried about wrap, normally enclosing your long link in
>> "<>" brackets will keep it clickable in even clueless email clients and
>> newsreaders.
>>
>> <http://example.com/making-up-a-really-really-really-really-long-link-that-
>> should-wrap-about-there-somewhere-or-another/test/html>
>>
>> A link is a link is a ros^Wlink. Plain text or HTML, it's the same.
>
> Foe what it's worth, your long link surrounded with <> broke and was not
> clickable in my Thunderbird window.

Yes, you're right. I thought Thunderbird was smarter than that. Here's
my post showing in a screenshot from Pan, and obviously clickable.

http://tekrider.net/usenet/linkwrap.png

Dave Royal

unread,
Oct 10, 2012, 4:34:54 PM10/10/12
to
On Wed, 10 Oct 2012 16:22:17 -0400, Beauregard T. Shagnasty wrote:
>
> Yes, you're right. I thought Thunderbird was smarter than that. Here's
> my post showing in a screenshot from Pan, and obviously clickable.
>
I'm using Pan, and it's /not/ clickable.

Beauregard T. Shagnasty

unread,
Oct 10, 2012, 4:52:02 PM10/10/12
to
Dave Royal wrote:

> On Wed, 10 Oct 2012 16:22:17 -0400, Beauregard T. Shagnasty wrote:
>>
>> Yes, you're right. I thought Thunderbird was smarter than that. Here's
>> my post showing in a screenshot from Pan, and obviously clickable.
>>
> I'm using Pan, and it's /not/ clickable.

Did you look at my original post with the long link in Pan? Or are you
looking at the link in replies (where it isn't clickable)?

It is clickable in my version 0.133 as shown in my screenshot. Perhaps
something changed between mine and your version 0.139.

Dave Royal

unread,
Oct 10, 2012, 5:04:17 PM10/10/12
to
On Wed, 10 Oct 2012 15:52:02 -0500, Beauregard T. Shagnasty wrote:

> Did you look at my original post with the long link in Pan? Or are you
> looking at the link in replies (where it isn't clickable)?

I'm looking in the body pane. I have 'highlight URLs' selected. I should
have said that it /is/ clickable but only up to the line break so a link
would break. Compared with your screenshot, only the first line is blue.

> It is clickable in my version 0.133 as shown in my screenshot. Perhaps
> something changed between mine and your version 0.139.

I was using 0.135 earlier, and it was the same with that. But I wouldn't
be surprised - every version seems to break as much as it fixes.

None of which is helpful to the OP!

nGc

unread,
Oct 10, 2012, 6:07:10 PM10/10/12
to
Strange, It was clickable in my Icedove.

CLICK=http://www.iana.org/domains/example/

Nolan

Tiger

unread,
Oct 11, 2012, 4:56:41 AM10/11/12
to
I'm the original poster and believe I've received my answer -what I'm
asking for can't be done in Thunderbird :-(

I know about using SHIFT (a menu item would be nice in case I forget the
keyboard shortcut) which is fine if you decide what you want *BEFORE*
you actually start writing the message.
But if you decide *AFTER* you've written the new message I've only found
a cumbersome workaround (copy all the text, open a new message while
holding SHIFT, then paste, reenter the subject and all the recipients
before sending). Cumbersome indeed.

For the other way round (changing something written in HTML, then
changing it to plain text) I believe there's an option which works:

1) Select all the message text (CMD-A/CTRL-A)
2) Go to Format-Remove all text styles
3) Send the message

I'm no programmer, but I can't understand why it would be so hard to
simply add a toolbar button (or menu item at the very least) labelled
"HTML <-> plain text". That would solve the problem once and for all.

Onno Ekker

unread,
Oct 11, 2012, 5:13:55 AM10/11/12
to
I have setup my Thunderbird to compose in HTML, but to send in plain
text when no formatting is added. When you don't add HTML Thunderbird
automatically converts the message to plain text...

Onno

Tiger

unread,
Oct 11, 2012, 6:45:43 AM10/11/12
to
Onno Ekker wrote:
> On 10/11/2012 10:56 AM, Tiger wrote:
>> I'm the original poster and believe I've received my answer -what I'm
>> asking for can't be done in Thunderbird :-(

> I have setup my Thunderbird to compose in HTML, but to send in plain
> text when no formatting is added. When you don't add HTML Thunderbird
> automatically converts the message to plain text...

Really?
I've had a look at the preferences and I've set my various email account
settings (Tools-Account settings) to HTML (Composition &
adressing-Compose message in HTML format) which brings up the HTML
styling options in the compose window.
But where do I configure it so that mail is sent as plain text as long
as I don't do any text styling?

(I've already had a look at
"Thunderbird-Preferences-Composition-General-Send options" where I can
choose between "Ask me what to do", "Convert the message to plain text",
"Send the message in HTML anyway" or "Send the message in HTML and plain
text" but perhaps this is something which is done regardless -I'll do
some testing and see).

Arjen Meijer

unread,
Oct 11, 2012, 6:52:13 AM10/11/12
to
Since Thunderbird 15 the task list in the Lightning is not shown.

I can successful export the task list, so it is there, but the screen is empty.

Same in Thunderbird 16 with latest version of the Lightning add and Google data provider.

Has anybody an idea what is going on?

Arjen

Onno Ekker

unread,
Oct 11, 2012, 7:05:53 AM10/11/12
to
As far as I can tell you don't need to do anything to cause Thunderbird
to convert your message to plain text. It does so automatically when no
styling/special characters are used.

The setting under Thunderbird | Preferences | Composition | General |
Send Options are to tell Thunderbird what to do when the message *does*
contain styling/special characters...

Onno

Ron K.

unread,
Oct 11, 2012, 7:17:08 AM10/11/12
to
Tiger on 10/11/2012 4:56 AM, keyboarded a reply:
Adding buttons and context menu items can not fix Tb to so what you and
many others would like to see. One reason is the editor code used by Tb
is owned by another Mozilla project. While the Tb Devs could write
overlays to modify some features, writing a converter was not feasible.
The core problem is the Editor initializes in either HTML or Text mode
and switching modes on the fly would cause data loss.

--
Ron K.
Who is General Failure, and why is he searching my HDD?
Kernel Restore reported Major Error used BSOD to msg the enemy!

Ron Hunter

unread,
Oct 11, 2012, 9:02:04 PM10/11/12
to
If you have either set in the preferences, and want to compose with the
other, just hold 'shift' when you open the write, or reply (followup).

Chris Ilias

unread,
Oct 12, 2012, 3:02:46 AM10/12/12
to
On 12-10-11 7:17 AM, Ron K. wrote:
> Adding buttons and context menu items can not fix Tb to so what you and
> many others would like to see. One reason is the editor code used by Tb
> is owned by another Mozilla project. While the Tb Devs could write
> overlays to modify some features, writing a converter was not feasible.
> The core problem is the Editor initializes in either HTML or Text mode
> and switching modes on the fly would cause data loss.

The above wording makes it sound like people working on Thunderbird are
not allowed to work on the editor code, so I want to clarify: anyone,
including people that work on Thunderbird, can work on the editor code.

--
Chris Ilias <http://ilias.ca>
Mailing list/Newsgroup moderator

Ray_Net

unread,
Oct 12, 2012, 3:57:26 AM10/12/12
to
The question is not to start in plain text or to start in html, the
question, is:
I start writing a mail in html and i want to switch to plain text.
I start writing a mail in plain text and i want to switch to html.

Ron Hunter

unread,
Oct 12, 2012, 4:08:55 AM10/12/12
to
Hummm. Isn't that what they call 'changing horses in mid-stream'?
Starting in HTML will already have put some HTML tags in the message,
won't it? Is this really feasible?

Dave Royal

unread,
Oct 12, 2012, 7:15:16 AM10/12/12
to
On Fri, 12 Oct 2012 03:08:55 -0500, Ron Hunter wrote:

> Hummm. Isn't that what they call 'changing horses in mid-stream'?
> Starting in HTML will already have put some HTML tags in the message,
> won't it? Is this really feasible?

It's quite simple. You just warn the user and dump the html. That's how
the people who raised
https://bugzilla.mozilla.org/show_bug.cgi?id=216132
envisaged it back in 2003.

It's like if you save a rich text document in plain text in a word
processor: you get a warning.

But mostly I think it would be used the other way around - plain to html.
I can't offhand think of a reason for switching from html to plain text -
it can be sent as multipart-alternative.

Ron K.

unread,
Oct 12, 2012, 9:59:01 AM10/12/12
to
Chris Ilias on 10/12/2012 3:02 AM, keyboarded a reply:
Glad to read your comment. It reflects a more open attitude than
perceptions during the TB 0.1 alpha time period.

Ray_Net

unread,
Oct 12, 2012, 6:42:18 PM10/12/12
to
CORRECT - normally when i am in HTML , i am happy perhaps because at the
sent time SM ask me to send it in html or plain text.
The real reason of asking to switch is from plaint text to html, because
in just realized, that i need changing the size of some characters/words
and also to change character color (red most of the time).

Mike Easter

unread,
Oct 13, 2012, 10:50:56 PM10/13/12
to
Tiger wrote:
> Is there an add-on which allows me to change between HTML and plain text
> when writing a new message/replying?

To me, the phrase 'when (while) writing' means 'during the composition
of an existing message' ie 'on the fly' like OE can do or gmail webmail
can do but Tb can't.

Compared to other agents as mentioned, this is a deficiency, because it
is quite logical and appropriate - appropriately flexible - that one
should be able to do so.

As an almost exclusively text oriented person, I would opine that far
and away the most likely 'flip' would be to be able to go from plain
text to html, as opposed to the other way around.

--
Mike Easter

Robert Miles

unread,
Nov 24, 2012, 11:06:58 PM11/24/12
to
On 10/10/2012 11:24 AM, Beauregard T. Shagnasty wrote:
> Dave Royal wrote:
>
>> Jay Garcia wrote:
>>> To answer your "link" issue. You don't need to be in HTML mode to enter
>>> a link...
>
>> Yes, I know that. But sometimes I want an _html_ link - particularly if
>> the URL is a long one that will wrap and I'm emailing somebody you might
>> not spot that.
>
> What is an _html_ link? http://example.com/something.html is an html
> link. If you're worried about wrap, normally enclosing your long link in
> "<>" brackets will keep it clickable in even clueless email clients and
> newsreaders.
>
> <http://example.com/making-up-a-really-really-really-really-long-link-that-
> should-wrap-about-there-somewhere-or-another/test/html>

That link didn't remain fully clickable for me in Thunderbird, only the
portion of it before the wrap.

Are you calling Thunderbird a clueless email client and newsreader?

Robert Miles

unread,
Nov 24, 2012, 11:18:22 PM11/24/12
to
An idea for switching from plain text mode to HTML mode: Have a button
that will save all text entered so far to a temporary file, then restart
the editor in HTML mode, then use that temporary file to put all text
entered so far back into the editor. How would that method cause any
data loss?

Beauregard T. Shagnasty

unread,
Nov 24, 2012, 11:25:15 PM11/24/12
to
Robert Miles wrote:

> On 10/10/2012 11:24 AM, Beauregard T. Shagnasty wrote:
>> <http://example.com/making-up-a-really-really-really-really-long-link-
that-
>> should-wrap-about-there-somewhere-or-another/test/html>
>
> That link didn't remain fully clickable for me in Thunderbird, only the
> portion of it before the wrap.
>
> Are you calling Thunderbird a clueless email client and newsreader?

(That's six weeks ago, let me refresh the thread...)

I suppose so, at least as far as long links are concerned. As I showed
with a screenshot, the complete link remains clickable in Pan.

<http://tekrider.net/usenet/linkwrap.png>
0 new messages