Ticket #5485: 5485.patch

File 5485.patch, 1.3 KB (added by Garry Yao, 15 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    655655                                                                {
    656656                                                                        data =
    657657                                                                                config.docType +
    658                                                                                 '<html dir="' + config.contentsLangDirection + '">' +
     658                                                                                '<html dir="' + config.contentsLangDirection + '" lang="' + ( config.contentsLanguage || editor.langCode ) + '">' +
    659659                                                                                '<title>' + frameLabel + '</title>' +
    660660                                                                                '<head>' +
    661661                                                                                        baseTag +
  • _source/core/config.js

     
    8686        contentsLangDirection : 'ltr',
    8787
    8888        /**
     89         * Language code of  the writting language which is used to author the editor
     90         * contents.
     91         * @default Same value with editor's UI language.
     92         * @type String
     93         * @example
     94         * config.contentsLanguage = 'fr';
     95         */
     96        contentsLanguage : '',
     97
     98        /**
    8999         * The user interface language localization to use. If empty, the editor
    90100         * automatically localize the editor to the user language, if supported,
    91101         * otherwise the {@link CKEDITOR.config.defaultLanguage} language is used.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy