diff --git a/www/pad/index.html b/www/pad/index.html index 8437073af..7d4c3125a 100644 --- a/www/pad/index.html +++ b/www/pad/index.html @@ -3,6 +3,7 @@ CryptPad + + diff --git a/www/pad/main.js b/www/pad/main.js index f96cdcb28..510e86983 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -763,9 +763,13 @@ define([ var first = function () { Ckeditor = ifrw.CKEDITOR; - if (Ckeditor) { //andThen(Ckeditor); + // mobile configuration + Ckeditor.config.toolbarCanCollapse = true; + if (screen.height < 800) { + Ckeditor.config.toolbarStartupExpanded = false; + } second(Ckeditor); } else { console.log("Ckeditor was not defined. Trying again in %sms",interval);