X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fthemes%2Fdefault%2Ftheme.js;h=078eb19b99869037b83a0e4e6d2b741fa02abd0e;hb=f8fc585c18d287eb325c575596d183122486b641;hp=ef0f7c93a3218cbd24cef5bad532240c187456df;hpb=059b4c2fef02528bf1af189f7996e80652faddfb;p=ckeditor.git diff --git a/_source/themes/default/theme.js b/_source/themes/default/theme.js index ef0f7c9..078eb19 100644 --- a/_source/themes/default/theme.js +++ b/_source/themes/default/theme.js @@ -118,6 +118,7 @@ CKEDITOR.themes.add( 'default', (function() ' dir="', editor.lang.dir, '"' + ' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' + ' lang="', editor.langCode, '"' + + ( CKEDITOR.env.webkit? ' tabindex="' + tabIndex + '"' : '' ) + ' role="application"' + ' aria-labelledby="cke_', name, '_arialbl"' + ( style ? ' style="' + style + '"' : '' ) + @@ -126,9 +127,9 @@ CKEDITOR.themes.add( 'default', (function() '' + '' + '' + - '' + - '' + - '' + + '' + + '' + + '' + '' + //Hide the container when loading skins, later restored by skin css. '' + @@ -229,6 +230,8 @@ CKEDITOR.themes.add( 'default', (function() destroy : function( editor ) { var container = editor.container; + container.clearCustomData(); + editor.element.clearCustomData(); /* * IE BUG: Removing the editor DOM elements while the selection is inside @@ -256,10 +259,9 @@ CKEDITOR.themes.add( 'default', (function() container.remove(); if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE ) - { editor.element.show(); - delete editor.element; - } + + delete editor.element; } }; })() );