Opened 12 years ago

Closed 11 years ago

#6600 closed enhancement (fixed)

[patch][ccla] dijit._editor/RichText has a programmatic and declarative way to disable spell checking in FireFox

Reported by: Jared Jurkiewicz Owned by: liucougar
Priority: high Milestone: 1.3
Component: Editor Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Jared Jurkiewicz)

Request: dijit._editor/RichText has a programmatic and declarative way to disable spell checking in FireFox?.

I've been working with some people in my office that encountered a scenario where it would be extremely helpful if the editor and RichText? widgets had a way to programmatically and declaratively disable firefox's spell check feature. An example scenario is if the editor is being used to view and edit source code. Function names and the like will definitely be flagged as misspelled. The disable is simply setting the attribute spellcheck="false" on the body of the iFrame returned by _getIframeDocTxt().

This can be easily exposed as a widget instantiation parameter and declarative parameter, but I'm not sure it can be toggled on and off easily programmatically once it has been created (I haven't dug that far into it).

A patch with the prelim code needed for disabling spell check in RichText? as well as a test case for it will be coming shortly.

Attachments (1)

dijit._editor.RichText_spellcheck_20080424.patch (2.9 KB) - added by Jared Jurkiewicz 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by Jared Jurkiewicz

Description: modified (diff)

Changed 12 years ago by Jared Jurkiewicz

comment:2 Changed 11 years ago by Adam Peller

Summary: Request: dijit._editor/RichText has a programmatic and declarative way to disable spell checking in FireFox[patch][ccla] dijit._editor/RichText has a programmatic and declarative way to disable spell checking in FireFox

comment:3 Changed 11 years ago by bill

Milestone: tbd

mark all (open) tickets w/blank milestones to be "tbd"; their milestones need to be set to a version number or to "future"

comment:4 Changed 11 years ago by bill

Milestone: tbd1.3

comment:5 Changed 11 years ago by bill

Milestone: 1.31.4

Note that safari doesn't have a way to do this yet, see https://bugs.webkit.org/show_bug.cgi?id=14552.

comment:6 Changed 11 years ago by Adam Peller

Milestone: 1.41.3
Resolution: fixed
Status: newclosed

Fixed in [16008]

Note: See TracTickets for help on using tickets.