JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5
[ckeditor.git] / _source / themes / default / theme.js
index 669aeb3..a281843 100644 (file)
@@ -45,6 +45,10 @@ CKEDITOR.themes.add( 'default', (function()
                        // Get the deeper inner <div>.\r
                        container = mainContainer.getChild( [0,0,0,0] );\r
 \r
+                       // Save a reference to the shared space container.\r
+                       !editor.sharedSpaces && ( editor.sharedSpaces = {} );\r
+                       editor.sharedSpaces[ spaceName ] = container;\r
+\r
                        // When the editor gets focus, we show the space container, hiding others.\r
                        editor.on( 'focus', function()\r
                                {\r
@@ -122,7 +126,7 @@ CKEDITOR.themes.add( 'default', (function()
                                        ' dir="', editor.lang.dir, '"' +\r
                                        ' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' +\r
                                        ' lang="', editor.langCode, '"' +\r
-                                       ( CKEDITOR.env.webkit? ' tabindex="' + tabIndex + '"' : '' ) +\r
+                                               ( CKEDITOR.env.webkit? ' tabindex="' + tabIndex + '"' : '' ) +\r
                                        ' role="application"' +\r
                                        ' aria-labelledby="cke_', name, '_arialbl"' +\r
                                        ( style ? ' style="' + style + '"' : '' ) +\r