Ticket #2252: 2252.patch
File 2252.patch, 3.0 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
112 112 properly wrap the text.</li> 113 113 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The Samplepostdata.php has been 114 114 changed from "<?=" to "<? echo".</li> 115 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2252">#2252</a>] It's now possible to enable the 116 browsers default menu using the configuration file (FCKConfig.BrowserContextMenu option).</li> 115 117 </ul> 116 118 <h3> 117 119 Version 2.6</h3> -
editor/_source/internals/fck_gecko.js
267 267 } 268 268 269 269 // Reset the context menu. 270 if (FCKConfig.BrowserContextMenu == false) 271 { 270 272 FCK.ContextMenu._InnerContextMenu.SetMouseClickWindow( FCK.EditorWindow ) ; 271 273 FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument ) ; 274 } 272 275 } 273 276 274 277 FCK.MakeEditable = function() -
editor/_source/internals/fck_ie.js
130 130 this.EditorDocument.body.attachEvent( 'ondrop', Doc_OnDrop ) ; 131 131 132 132 // Reset the context menu. 133 FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument.body ) ; 133 if (FCKConfig.BrowserContextMenu == false) 134 FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument.body ) ; 134 135 135 136 this.EditorDocument.attachEvent("onkeydown", FCK._KeyDownListener ) ; 136 137 -
editor/fckeditor.html
261 261 <script type="text/javascript"> 262 262 263 263 // Initialize the editing area context menu. 264 FCK_ContextMenu_Init() ; 264 if (FCKConfig.BrowserContextMenu == false) 265 FCK_ContextMenu_Init() ; 265 266 266 267 FCKPlugins.Load() ; 267 268 -
fckconfig.js
144 144 145 145 FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; 146 146 FCKConfig.BrowserContextMenuOnCtrl = false ; 147 FCKConfig.BrowserContextMenu = false; 147 148 148 149 FCKConfig.EnableMoreFontColors = true ; 149 150 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' ;