Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 1 отговор
  • 0 имат този проблем
  • 1 изглед
  • Последен отговор от 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?

Променено на от Matt

Всички отговори (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.