X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fsourcearea%2Fplugin.js;h=fb3f8a47aedf86ae7ffb0efe8f8d7b2083d90dd3;hb=614511639979907ceb0da3614122a4d8eb963ad4;hp=92ddce3d41a6b3b0f8275f25a41bc76f88ddb2be;hpb=059b4c2fef02528bf1af189f7996e80652faddfb;p=ckeditor.git diff --git a/_source/plugins/sourcearea/plugin.js b/_source/plugins/sourcearea/plugin.js index 92ddce3..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 //