Ticket #635: 653_ref.patch
File 653_ref.patch, 1.8 KB (added by , 14 years ago) |
---|
-
_source/plugins/link/plugin.js
95 95 }); 96 96 } 97 97 98 editor.on( 'doubleclick', function( evt ) 99 { 100 if ( evt.data.element.getAscendant( 'a', true ) ) 101 evt.data.dialog = 'link'; 102 }); 103 98 104 // If the "contextmenu" plugin is loaded, register the listeners. 99 105 if ( editor.contextMenu ) 100 106 { -
_source/plugins/wysiwygarea/plugin.js
380 380 } ); 381 381 } 382 382 383 domDocument.on( 'dblclick', function( ev ) 384 { 385 var element = ev.data.getTarget(), 386 data = { element : element, dialog : '' }; 387 editor.fire( 'doubleclick', data ); 388 data.dialog && editor.openDialog( data.dialog ); 389 }); 390 383 391 // Webkit: avoid from editing form control elements content. 384 392 if ( CKEDITOR.env.webkit ) 385 393 { -
_source/plugins/image/plugin.js
22 22 // Register the toolbar button. 23 23 editor.ui.addButton( 'Image', 24 24 { 25 25 26 label : editor.lang.common.image, 26 27 command : pluginName 27 28 }); … … 40 41 }); 41 42 } 42 43 44 editor.on( 'doubleclick', function( evt ) 45 { 46 if ( evt.data.element.is( 'img' ) ) 47 evt.data.dialog ='image'; 48 }); 49 43 50 // If the "contextmenu" plugin is loaded, register the listeners. 44 51 if ( editor.contextMenu ) 45 52 {