Ticket #5553: 5553.patch

File 5553.patch, 902 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/clipboard/dialogs/paste.js

     
    6060                        // inserted iframe editable. (#3366)
    6161                        this.parts.dialog.$.offsetHeight;
    6262
    63                         var htmlToLoad = '<!doctype html><html><head><style>body { margin: 3px; height: 95%; } </style></head><body>' +
     63                        var htmlToLoad = '<!doctype html><html dir="' + editor.lang.dir + '" lang="' + editor.langCode + '">' +
     64                                                         '<head><style>body { margin: 3px; height: 95%; } </style></head><body>' +
    6465                                                         '<script id="cke_actscrpt" type="text/javascript">' +
    6566                                                         'window.parent.CKEDITOR.tools.callFunction( ' + CKEDITOR.tools.addFunction( onPasteFrameLoad, this ) + ', this );' +
    6667                                                         '</script></body></html>';
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy