From 27f3223490ba132cd5ed995e310790d88be5ad2c Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 2 Jul 2021 17:55:15 +0530 Subject: [PATCH] provide the language we detect to CKEditor --- www/pad/inner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/pad/inner.js b/www/pad/inner.js index ae22af23c..304e9abe4 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -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',