63 | | var htmlToLoad = '<!doctype html><html><head><style>body { margin: 3px; height: 95%; } </style></head><body>' + |
64 | | '<script id="cke_actscrpt" type="text/javascript">' + |
65 | | 'window.parent.CKEDITOR.tools.callFunction( ' + CKEDITOR.tools.addFunction( onPasteFrameLoad, this ) + ', this );' + |
66 | | '</script></body></html>'; |
| 63 | var htmlToLoad = |
| 64 | '<!doctype html><html dir="' + editor.config.contentsLangDirection + '"' + |
| 65 | ' lang="' + ( editor.config.contentsLanguage || editor.langCode ) + '">' + |
| 66 | '<head><style>body { margin: 3px; height: 95%; } </style></head><body>' + |
| 67 | '<script id="cke_actscrpt" type="text/javascript">' + |
| 68 | 'window.parent.CKEDITOR.tools.callFunction( ' + CKEDITOR.tools.addFunction( onPasteFrameLoad, this ) + ', this );' + |
| 69 | '</script></body>' + |
| 70 | '</html>'; |