X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fsourcearea%2Fplugin.js;h=fb3f8a47aedf86ae7ffb0efe8f8d7b2083d90dd3;hb=9afde8772159bd3436f1f5b7862960307710ae5a;hp=dbbed8db2cf76820c10a997a43e914d587fa884b;hpb=e7789c1ad838194d45eeee6ac2eb6e55f5cf35a1;p=ckeditor.git diff --git a/_source/plugins/sourcearea/plugin.js b/_source/plugins/sourcearea/plugin.js index dbbed8d..fb3f8a4 100644 --- a/_source/plugins/sourcearea/plugin.js +++ b/_source/plugins/sourcearea/plugin.js @@ -34,7 +34,7 @@ CKEDITOR.plugins.add( 'sourcearea', textarea.setAttributes( { dir : 'ltr', - tabIndex : editor.tabIndex, + tabIndex : CKEDITOR.env.webkit ? -1 : editor.tabIndex, 'role' : 'textbox', 'aria-label' : editor.lang.editorTitle.replace( '%1', editor.name ) }); @@ -72,17 +72,6 @@ CKEDITOR.plugins.add( 'sourcearea', win.on( 'resize', onResize ); setTimeout( onResize, 0 ); } - else - { - // By some yet unknown reason, we must stop the - // mousedown propagation for the textarea, - // otherwise it's not possible to place the caret - // inside of it (non IE). - textarea.on( 'mousedown', function( evt ) - { - evt.data.stopPropagation(); - } ); - } // Reset the holder element and append the //