mirror of https://github.com/xwiki-labs/cryptpad
provide the language we detect to CKEditor
This commit is contained in:
parent
faed7c8573
commit
27f3223490
|
@ -1327,6 +1327,7 @@ define([
|
||||||
$(waitFor());
|
$(waitFor());
|
||||||
}).nThen(function(waitFor) {
|
}).nThen(function(waitFor) {
|
||||||
Ckeditor.config.toolbarCanCollapse = true;
|
Ckeditor.config.toolbarCanCollapse = true;
|
||||||
|
Ckeditor.config.language = Messages._getLanguage();
|
||||||
if (screen.height < 800) {
|
if (screen.height < 800) {
|
||||||
Ckeditor.config.toolbarStartupExpanded = false;
|
Ckeditor.config.toolbarStartupExpanded = false;
|
||||||
$('meta[name=viewport]').attr('content',
|
$('meta[name=viewport]').attr('content',
|
||||||
|
|
Loading…
Reference in New Issue