provide the language we detect to CKEditor

This commit is contained in:
ansuz 2021-07-02 17:55:15 +05:30
parent faed7c8573
commit 27f3223490
1 changed files with 1 additions and 0 deletions

View File

@ -1327,6 +1327,7 @@ define([
$(waitFor());
}).nThen(function(waitFor) {
Ckeditor.config.toolbarCanCollapse = true;
Ckeditor.config.language = Messages._getLanguage();
if (screen.height < 800) {
Ckeditor.config.toolbarStartupExpanded = false;
$('meta[name=viewport]').attr('content',