Ticket #6011: 6011.patch
File 6011.patch, 2.9 KB (added by , 14 years ago) |
---|
-
_source/plugins/liststyle/plugin.js
7 7 { 8 8 CKEDITOR.plugins.liststyle = 9 9 { 10 requires : [ 'dialog' ],10 requires : [ 'dialog', 'menu' ], 11 11 init : function( editor ) 12 12 { 13 13 editor.addCommand( 'numberedListStyle', new CKEDITOR.dialogCommand( 'numberedListStyle' ) ); -
_source/plugins/clipboard/plugin.js
284 284 // Register the plugin. 285 285 CKEDITOR.plugins.add( 'clipboard', 286 286 { 287 requires : [ ' dialog', 'htmldataprocessor' ],287 requires : [ 'htmldataprocessor' ], 288 288 init : function( editor ) 289 289 { 290 290 // Inserts processed data into the editor at the end of the … … 304 304 setTimeout( function() 305 305 { 306 306 // Open default paste dialog. 307 editor.openDialog ( 'paste' );307 editor.openDialog && editor.openDialog( 'paste' ); 308 308 }, 0 ); 309 309 }); 310 310 … … 336 336 addButtonCommand( 'Copy', 'copy', new cutCopyCmd( 'copy' ), 4 ); 337 337 addButtonCommand( 'Paste', 'paste', pasteCmd, 8 ); 338 338 339 CKEDITOR.dialog.add( 'paste', CKEDITOR.getUrl( this.path + 'dialogs/paste.js' ) ); 339 // Add dialog if plugin is available. 340 if ( CKEDITOR.dialog ) 341 CKEDITOR.dialog.add( 'paste', CKEDITOR.getUrl( this.path + 'dialogs/paste.js' ) ); 340 342 341 343 editor.on( 'key', onKey, editor ); 342 344 -
_source/plugins/pastetext/plugin.js
27 27 28 28 if ( !clipboardText ) // Clipboard access privilege is not granted. 29 29 { 30 editor.openDialog ( 'pastetext' );30 editor.openDialog && editor.openDialog( 'pastetext' ); 31 31 return false; 32 32 } 33 33 else … … 65 65 command : commandName 66 66 }); 67 67 68 CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/pastetext.js' ) ); 68 // Add dialog if plugin is available. 69 if ( CKEDITOR.dialog ) 70 CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/pastetext.js' ) ); 69 71 70 72 if ( editor.config.forcePasteAsPlainText ) 71 73 { -
_source/plugins/menubutton/plugin.js
5 5 6 6 CKEDITOR.plugins.add( 'menubutton', 7 7 { 8 requires : [ 'button' , 'contextmenu'],8 requires : [ 'button' ], 9 9 beforeInit : function( editor ) 10 10 { 11 11 editor.ui.addHandler( CKEDITOR.UI_MENUBUTTON, CKEDITOR.ui.menuButton.handler );