From 5a6c3597dbee653f29ea32defc69b9dc91a90d8f Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 17 Oct 2018 15:02:02 +0200 Subject: [PATCH] Fix missing cursor in empty pads with Chrome and fix page mode --- customize.dist/ckeditor-contents.css | 6 ++++++ www/pad/inner.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/customize.dist/ckeditor-contents.css b/customize.dist/ckeditor-contents.css index d86a12d44..633c7e7f8 100644 --- a/customize.dist/ckeditor-contents.css +++ b/customize.dist/ckeditor-contents.css @@ -16,6 +16,12 @@ body background-color: #fff; margin: 20px; + padding: 20px; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; } .cke_editable diff --git a/www/pad/inner.js b/www/pad/inner.js index 8f09b91ab..a818c8ca9 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -785,7 +785,7 @@ define([ 'max-width: 50em; padding: 20px 30px; margin: 0 auto; min-height: 100%;'+ 'box-sizing: border-box; overflow: auto;'+ '}' + - '.cke_body_width body > *:first-child { margin-top: 0; }' + + '.cke_body_width body > *:first-child { margin-top: 0; }'; Ckeditor.addCss(newCss); Ckeditor._mediatagTranslations = { title: Messages.pad_mediatagTitle,