"Indent" button on mail composer nests in <blockquote> rather than actually indenting
Categories
(Core :: DOM: Editor, enhancement, P5)
Tracking
()
People
(Reporter: xtrsports, Unassigned)
References
Details
Comment 1•20 years ago
|
||
Comment 2•18 years ago
|
||
Updated•17 years ago
|
Assignee | ||
Updated•17 years ago
|
Comment 3•14 years ago
|
||
Comment 5•3 years ago
|
||
This is just how the core editor works (with or without use css enabled)
Comment 6•3 years ago
|
||
Inserting <blockquote>
for each indent
command is by design for the editor module because Chrome also behave so. Therefore, we cannot change the behavior.
If mail editor wants to behave differently, e.g., wants to use the CSS mode only for indent command, please post a patch.
Comment 8•3 years ago
|
||
(In reply to doug.kerr@att.net from comment #7)
Do Chrome users find it satisfactory?
It's not matter. Existing web apps may depend on common behavior of browsers. Therefore, it does not make sense to discard common behavior for any web browsers.
Of course the present behavior of Tbird means that some browsers will not render the text the way the originator sees it in Tbird.
And the present behavior does not seem consistent with the accepted definition of the HTML <blockquote> tag.
Doug
Comment 10•3 years ago
|
||
(In reply to doug.kerr@att.net from comment #9)
And the present behavior does not seem consistent with the accepted definition of the HTML <blockquote> tag.
It's also not matter. Browsers should not change existing behavior of editing if the behavior is compatible between browsers. Please be aware, this is now marked as "Core", not "Thunderbird", this means that changing behavior could break web apps in the wild, and it won't be acceptable for Firefox. If Thunderbird needs to change the behavior, contributors of Thunderbird should write a patch which takes special behavior only when the editor instance is a mail editor.
Comment 11•3 years ago
|
||
(And I read again comment 1, but it's unclear to me that, if this is just a style issue of <blockquote>
, it's out of scope of "Core Editor" because it can be specified with CSS in comm-central, and also I'm confused at comment 5, in CSS mode, only margin-left
or margin-right
is specified.)
Comment 12•3 years ago
|
||
The problem is that some email clients interpret material enclosed in HTML <blockquote> tag pairs as being quoted material (as per the definition), and may display it in some way the designers of that email client this is most suitable for that meaning. That is not necessarily indented, and may include other treatment suitable for that meaning. In one case at least it is displayed only as a link, "Click here to read quoted material".
But when I use the Indent button in the composer of Tbird (which encloses the selected text in <blockquote> tags), I just want the material as displayed for the recipient to be indented (like the button is labeled). I do not want it displayed that way that the recipient's email client displays quoted material. A correspondent whose email client (in his iPhone) does that is not at all amused when I send him messages with paragraphs I intend to be rendered indented. (I often do that for a sort-of-parenthetical paragraph perhaps explaining the material just above.)
Do other applications that use this editor code label the button that does this "Indent", or is it labeled (accurately, but perhaps not usefully) "Quoted"?
As to whether I would specify only a left indent or both left and right indents if encoding the indenting explicitly (as called for by the HTML norms), I am just as glad to have this material only indented on the left. But if the Indent button encoded the passage to be indented some arbitrary amount on both left and right, that would be fine for me as well.
Doug
Comment 13•3 years ago
|
||
(In reply to Masayuki Nakano [:masayuki] (he/him)(JST, +0900) from comment #11)
I'm confused at comment 5, in CSS mode, only
margin-left
ormargin-right
is specified.)
I'm not sure why it happens (or not). I tried the midas demo, and also for css mode indent results in blockquote being applied, not style changes.
Comment 14•3 years ago
|
||
I don't understand all the arguments against making the "Indent text" button apply "indent" encoding.
But would it be possible to relabel the "indent text" button as "quoted material" and have another button that does apply indent encoding?
Having the only available button applying <blockquote> encoding causes a serous problem for several of my correspondents.
Does the CSS concept even need to be involved to use the HTML indent encoding? Can it not just be used "topically"? (Works for me when I hand encode it.)
Doug
Comment 15•3 years ago
|
||
This is what I do (manually) when I need to be sure that a recipient's email client will render the paragraph as indented:
<p style="margin:0px 40px"> When in the course of human events.</p>
Doug
Description
•