X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fsourcearea%2Fplugin.js;h=fe39339d626962f0b65302577fc1c404a70b60bb;hb=66f4ae0bf0280ed56bf7c0f4ab175424dd1d47a0;hp=92ddce3d41a6b3b0f8275f25a41bc76f88ddb2be;hpb=059b4c2fef02528bf1af189f7996e80652faddfb;p=ckeditor.git diff --git a/_source/plugins/sourcearea/plugin.js b/_source/plugins/sourcearea/plugin.js index 92ddce3..fe39339 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 ) @@ -190,6 +191,7 @@ CKEDITOR.plugins.sourcearea = source : { modes : { wysiwyg:1, source:1 }, + editorFocus : false, exec : function( editor ) {