Ticket #6416: 6416_2.patch

File 6416_2.patch, 1.3 KB (added by Garry Yao, 14 years ago)
  • _source/themes/default/theme.js

     
    113113                        var container = CKEDITOR.dom.element.createFromHtml( [
    114114                                '<span' +
    115115                                        ' id="cke_', name, '"' +
    116                                         ' onmousedown="return false;"' +
    117116                                        ' class="', editor.skinClass, ' cke_editor_', name, '"' +
    118117                                        ' dir="', editor.lang.dir, '"' +
    119118                                        ' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' +
  • _source/plugins/sourcearea/plugin.js

     
    7272                                                                win.on( 'resize', onResize );
    7373                                                                setTimeout( onResize, 0 );
    7474                                                        }
    75                                                         else
    76                                                         {
    77                                                                 // By some yet unknown reason, we must stop the
    78                                                                 // mousedown propagation for the textarea,
    79                                                                 // otherwise it's not possible to place the caret
    80                                                                 // inside of it (non IE).
    81                                                                 textarea.on( 'mousedown', function( evt )
    82                                                                         {
    83                                                                                 evt.data.stopPropagation();
    84                                                                         } );
    85                                                         }
    8675
    8776                                                        // Reset the holder element and append the
    8877                                                        // <textarea> to it.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy