[dw-free] Enable native Firefox spellchecker in RTE
[commit: http://hg.dwscoalition.org/dw-free/rev/4d557293d4db]
http://bugs.dwscoalition.org/show_bug.cgi?id=2223
Disable custom right-click menu in Firefox, so it doesn't interfere with
native spellcheck.
Patch by pkornilov, from LiveJournal. Packaged for Dreamwidth by denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2223
Disable custom right-click menu in Firefox, so it doesn't interfere with
native spellcheck.
Patch by pkornilov, from LiveJournal. Packaged for Dreamwidth by denise.
Files modified:
- htdocs/stc/fck/fckconfig.js
-------------------------------------------------------------------------------- diff -r 0e9ea16f6ddf -r 4d557293d4db htdocs/stc/fck/fckconfig.js --- a/htdocs/stc/fck/fckconfig.js Sat Jan 30 09:38:11 2010 +0000 +++ b/htdocs/stc/fck/fckconfig.js Sat Jan 30 10:02:36 2010 +0000 @@ -183,7 +183,7 @@ FCKConfig.Keystrokes = [ FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ; FCKConfig.BrowserContextMenuOnCtrl = false ; -FCKConfig.BrowserContextMenu = false ; +FCKConfig.BrowserContextMenu = !FCKBrowserInfo.IsIE ; // IE only FCKConfig.EnableMoreFontColors = true ; FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ; --------------------------------------------------------------------------------
