Closed Bug 1734620 Opened 3 years ago Closed 3 years ago

Provide WebExtension API for detecting and changing spell check language

Categories

(Thunderbird :: Add-Ons: Extensions API, enhancement)

enhancement

Tracking

(thunderbird_esr91 wontfix)

RESOLVED FIXED
102 Branch
Tracking Status
thunderbird_esr91 --- wontfix

People

(Reporter: twity1337+bugzilla, Assigned: TbSync, Mentored)

References

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36

Steps to reproduce:

On 08/16/2021 we got our addon "SmartCompose" (https://addons.thunderbird.net/en-us/thunderbird/addon/smartcompose/) reviewed by John Bieling. He mentioned, that both of our experiments should be added to Thunderbird core.

Expected results:

I would like to enhance the compose API by offering the ability to detecting and making changes on the composer dictionary/spell check language.
To detect changes on the spell check language, a MutationObserver on the "lang" attribute is set, which is fired whenever the compose document lang atrribute changes.
To set or get the dictionary language, the lang attribute is set or retrieved accordingly.

Proposed permission requirements: compose

Attached file id_ed25519.pub (obsolete) —

I have read, and agree to abide by, the Commit Access Requirements.

(In reply to Tim Wißmann from comment #2)

Created attachment 9244787 [details]
id_ed25519.pub

I have read, and agree to abide by, the Commit Access Requirements.

Mentor: john
Attachment #9244787 - Attachment is obsolete: true
Assignee: nobody → john
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Depends on: 1761221
Target Milestone: --- → 102 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0a94e6dfc09e
Add support for ComposeDictionaries to the compose API. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: