Ticket #3548: 3548.patch
File 3548.patch, 2.1 KB (added by , 15 years ago) |
---|
-
_source/plugins/panel/plugin.js
77 77 78 78 output.push( 79 79 '<div class="', editor.skinClass ,'"' + 80 ' lang="', editor.langCode, '"' + 80 81 ' style="z-index:' + ( editor.config.baseFloatZIndex + 1 ) + '">' + 81 82 '<div' + 82 83 ' id=', id, … … 130 131 parentDiv = iframe.getParent(), 131 132 dir = parentDiv.getAttribute( 'dir' ), 132 133 className = parentDiv.getParent().getAttribute( 'class' ), 134 langCode = parentDiv.getParent().getAttribute( 'lang' ), 133 135 doc = iframe.getFrameDocument(); 134 136 135 137 // Initialize the IFRAME document body. … … 141 143 142 144 doc.$.write( 143 145 '<!DOCTYPE html>' + 144 '<html dir="' + dir + '" class="' + className + '_container" >' +146 '<html dir="' + dir + '" class="' + className + '_container" lang="' + langCode + '">' + 145 147 '<head>' + 146 148 '<style>.' + className + '_container{visibility:hidden}</style>' + 147 149 '</head>' + -
_source/themes/default/theme.js
53 53 ' class="', editor.skinClass, '"' + 54 54 ' dir="', editor.lang.dir, '"' + 55 55 ' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' + 56 ' lang="', editor.langCode, '"' + 56 57 ' tabindex="' + tabIndex + '">' + 57 58 '<span class="' , CKEDITOR.env.cssClass, ' cke_', editor.lang.dir, '">' + 58 59 '<table class="cke_editor" border="0" cellspacing="0" cellpadding="0" style="width:', width, '"><tbody>' + … … 93 94 94 95 var element = CKEDITOR.dom.element.createFromHtml( [ 95 96 '<div class="cke_skin_', editor.skinName, 96 '" dir="', editor.lang.dir, '">' + 97 '" dir="', editor.lang.dir, '"' + 98 ' lang="', editor.langCode, '"' + 99 '>' + 97 100 98 101 '<div class="cke_dialog', ' ' + CKEDITOR.env.cssClass, 99 102 ' cke_', editor.lang.dir, '" style="position:absolute">' +