Changeset 343
- Timestamp:
- 2007-06-01 16:10:04 (20 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 5 modified
-
editor/_source/classes/fckcontextmenu.js (modified) (3 diffs)
-
editor/_source/internals/fck_contextmenu.js (modified) (1 diff)
-
editor/_source/internals/fck.js (modified) (1 diff)
-
fckconfig.js (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckcontextmenu.js
r248 r343 24 24 var FCKContextMenu = function( parentWindow, langDir ) 25 25 { 26 this.CtrlDisable = false ; 27 26 28 var oPanel = this._Panel = new FCKPanel( parentWindow ) ; 27 29 oPanel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ; … … 88 90 if ( el._FCKContextMenu ) 89 91 { 92 if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) ) 93 return true ; 94 90 95 FCKTools.CancelEvent( e ) ; 91 96 FCKContextMenu_AttachedElement_OnContextMenu( e, el._FCKContextMenu, el ) ; … … 101 106 // if ( iButton != 2 ) 102 107 // return ; 108 109 if ( fckContextMenu.CtrlDisable && ( ev.ctrlKey || ev.metaKey ) ) 110 return true ; 103 111 104 112 var eTarget = el || this ; -
FCKeditor/trunk/editor/_source/internals/fck_contextmenu.js
r202 r343 35 35 { 36 36 var oInnerContextMenu = FCK.ContextMenu._InnerContextMenu = new FCKContextMenu( FCKBrowserInfo.IsIE ? window : window.parent, FCKLang.Dir ) ; 37 oInnerContextMenu.CtrlDisable = FCKConfig.BrowserContextMenuOnCtrl ; 37 38 oInnerContextMenu.OnBeforeOpen = FCK_ContextMenu_OnBeforeOpen ; 38 39 oInnerContextMenu.OnItemClick = FCK_ContextMenu_OnItemClick ; -
FCKeditor/trunk/editor/_source/internals/fck.js
r321 r343 94 94 95 95 this.EditingArea = new FCKEditingArea( document.getElementById( 'xEditingArea' ) ) ; 96 this.EditingArea.FFSpellChecker = false;96 this.EditingArea.FFSpellChecker = FCKConfig.FirefoxSpellChecker ; 97 97 98 98 // Final setup of the lists lib. -
FCKeditor/trunk/fckconfig.js
r310 r343 137 137 138 138 FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; 139 FCKConfig.BrowserContextMenuOnCtrl = false ; 139 140 140 141 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' ; … … 150 151 FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 151 152 FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 153 FCKConfig.FirefoxSpellChecker = false ; 152 154 153 155 FCKConfig.MaxUndoLevels = 15 ; -
FCKeditor/trunk/_whatsnew.html
r342 r343 40 40 <li>It is now possible to set the default target when creating links, with the new "<strong>DefaultLinkTarget</strong>" 41 41 setting. </li> 42 <li>The new "<strong>FirefoxSpellChecker</strong>" setting is available, to enable/disable 43 the Firefox built-in spellchecker while typing. Even if word suggestions will not 44 appear in the FCKeditor context menu, this feature is useful to quickly identify 45 misspelled words.</li> 46 <li>The new "<strong>BrowserContextMenuOnCtrl</strong>" settings is being introduced, 47 to enable/disable the ability of displaying the default browser's context menu when 48 right-clicking with the CTRL key pressed.</li> 42 49 </ul> 43 50 <p>