X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fsourcearea%2Fplugin.js;h=f1214dacc5bbdccf5c1818dcb638663ee8979368;hb=f8fc585c18d287eb325c575596d183122486b641;hp=92ddce3d41a6b3b0f8275f25a41bc76f88ddb2be;hpb=059b4c2fef02528bf1af189f7996e80652faddfb;p=ckeditor.git diff --git a/_source/plugins/sourcearea/plugin.js b/_source/plugins/sourcearea/plugin.js index 92ddce3..f1214da 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 ) }); @@ -138,6 +138,7 @@ CKEDITOR.plugins.add( 'sourcearea', unload : function( holderElement ) { + textarea.clearCustomData(); editor.textarea = textarea = null; if ( onResize )