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.

Caută ajutor

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.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

Indent button in compose window doesn't indent, it quotes

  • 1 răspuns
  • 0 au această problemă
  • 1 vizualizare
  • Ultimul răspuns de Matt

more options

It appears that the indent/unindent button in the message composer doesn't indent and unindent, it increases and decreases the blockquote level. Quoting and indenting are different operations, and need to be formatted differently. I see that pressing the indent button uses a < blockquote> while "real" quoting uses < blockquote type=cite>. You would think it possible to add CSS to properly differentiate between the two.

Unfortunately email clients like Gmail and Outlook don't support attribute selectors in CSS. That means that it's impossible for the recipients using Gmail and Outlook to differentiate between quotes and indents. Composing emails that don't render properly on Gmail and Outlook is just not a practical option. Very few (probably none) of the people to which I send emails are running Thunderbird. I need quote and indent to work with recipients that aren't running Thunderbird.

According to multiple sources I've found, the blockquote tag has been frowned upon for a long, long time when what you want is indent. The proper way to indent is < div style="pad-left: 3em" > or < div style="left-margin: 3m" >.

Would it be possible to fix the indent button so that it doesn't quote the selected text, it indents it?

It appears that the indent/unindent button in the message composer doesn't indent and unindent, it increases and decreases the blockquote level. Quoting and indenting are different operations, and need to be formatted differently. I see that pressing the indent button uses a < blockquote> while "real" quoting uses < blockquote type=cite>. You would think it possible to add CSS to properly differentiate between the two. Unfortunately email clients like Gmail and Outlook don't support attribute selectors in CSS. That means that it's impossible for the recipients using Gmail and Outlook to differentiate between quotes and indents. Composing emails that don't render properly on Gmail and Outlook is just not a practical option. Very few (probably none) of the people to which I send emails are running Thunderbird. I need quote and indent to work with recipients that aren't running Thunderbird. According to multiple sources I've found, the blockquote tag has been frowned upon for a long, long time when what you want is indent. The proper way to indent is < div style="pad-left: 3em" > or < div style="left-margin: 3m" >. Would it be possible to fix the indent button so that it doesn't quote the selected text, it indents it?

Modificat în de Matt

Toate răspunsurile (1)

more options

Ok I have hacked your HTML to prevent it from rendering.

Now lets look at this.

You say
Unfortunately email clients like Gmail and Outlook don't support attribute selectors in CSS.

Wonderful, except they really do not support style either in the head or in the body over a google.

See https://www.campaignmonitor.com/css/style-element/style-in-head/  

If your goal is maximum folk seeing what you write how you format it. CSS is not a very functional option in email is the short answer.

https://bugzilla.mozilla.org/show_bug.cgi?id=882181 is the bug for this issue, not the support forum as it is not a support issue.