Ticket #6644: 6644.patch
File 6644.patch, 2.0 KB (added by , 13 years ago) |
---|
-
_source/plugins/sourcearea/plugin.js
72 72 win.on( 'resize', onResize ); 73 73 setTimeout( onResize, 0 ); 74 74 } 75 // As we prevent click to put focus on editor container,76 // while 'mousedown' inside <textarea> is also captured,77 // but we must stop the even propagation, otherwise78 // it's not possible to place the caret inside of it (non IE and IE9).79 if ( document.addEventListener )80 {81 textarea.on( 'mousedown', function( evt )82 {83 evt.data.stopPropagation();84 } );85 }86 75 87 76 // Reset the holder element and append the 88 77 // <textarea> to it. -
_source/plugins/toolbar/plugin.js
159 159 160 160 var labelId = CKEDITOR.tools.getNextId(); 161 161 162 var output = [ '<div class="cke_toolbox" role="toolbar" aria-labelledby="', labelId, '" ' ],162 var output = [ '<div class="cke_toolbox" role="toolbar" aria-labelledby="', labelId, '" onmousedown="return false;"' ], 163 163 expanded = editor.config.toolbarStartupExpanded !== false, 164 164 groupStarted; 165 165 -
_source/themes/default/theme.js
118 118 var container = CKEDITOR.dom.element.createFromHtml( [ 119 119 '<span' + 120 120 ' id="cke_', name, '"' + 121 ' onmousedown="return false;"' +122 121 ' class="', editor.skinClass, ' ', editor.id, ' cke_editor_', name, '"' + 123 122 ' dir="', editor.lang.dir, '"' + 124 123 ' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' +