Closed Bug 1790725 Opened 1 year ago Closed 1 year ago

allow using styles for mail composition

Categories

(Thunderbird :: Message Compose Window, enhancement)

enhancement

Tracking

(thunderbird_esr102 wontfix)

RESOLVED FIXED
106 Branch
Tracking Status
thunderbird_esr102 --- wontfix

People

(Reporter: mkmelin, Assigned: mkmelin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The mail editor currently only use non-style ways for styling.
Using css styles instead would be more modern, and e.g. allow inlining styles from stylesheets. There are cases where other mailers (e.g. gmail, bug 861788) don't even display the old style styling.

After this change, it's possible to set the pref, or use editor.document.execCommand("styleWithCSS", false, "true") to enable css in mail compose.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/integration/autoland/rev/e278477ecff7
Allow useCss for mail editor. r=masayuki
Keywords: leave-open

By setting the hidden pref editor.use_css true the mail editor now uses styles for editing.
I guess we can close this for now and address any further needs to adjust when this is set, in separate bugs.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.