X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_source%2Fthemes%2Fdefault%2Ftheme.js;h=a281843d495481af02c1fc4c82aca35d189c4dcc;hb=9afde8772159bd3436f1f5b7862960307710ae5a;hp=669aeb36a402da2d513a0e131b0b3653b34e597b;hpb=614511639979907ceb0da3614122a4d8eb963ad4;p=ckeditor.git diff --git a/_source/themes/default/theme.js b/_source/themes/default/theme.js index 669aeb3..a281843 100644 --- a/_source/themes/default/theme.js +++ b/_source/themes/default/theme.js @@ -45,6 +45,10 @@ CKEDITOR.themes.add( 'default', (function() // Get the deeper inner
. container = mainContainer.getChild( [0,0,0,0] ); + // Save a reference to the shared space container. + !editor.sharedSpaces && ( editor.sharedSpaces = {} ); + editor.sharedSpaces[ spaceName ] = container; + // When the editor gets focus, we show the space container, hiding others. editor.on( 'focus', function() { @@ -122,7 +126,7 @@ CKEDITOR.themes.add( 'default', (function() ' dir="', editor.lang.dir, '"' + ' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' + ' lang="', editor.langCode, '"' + - ( CKEDITOR.env.webkit? ' tabindex="' + tabIndex + '"' : '' ) + + ( CKEDITOR.env.webkit? ' tabindex="' + tabIndex + '"' : '' ) + ' role="application"' + ' aria-labelledby="cke_', name, '_arialbl"' + ( style ? ' style="' + style + '"' : '' ) +