From 1f258999cc52c8a66d69c212af4ace46632db416 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 12 Feb 2021 15:11:58 +0100 Subject: [PATCH] Restore rich text background color --- www/pad/inner.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/pad/inner.js b/www/pad/inner.js index 3e171c479..5d719402b 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -1406,7 +1406,7 @@ define([ $ckeToolbar.find('.cke_button__image_icon').parent().hide(); var $iframe = $('iframe').contents(); - if (window.CryptPad_theme === 'dark') { + /*if (window.CryptPad_theme === 'dark') { $iframe.find('html').addClass('cp-dark').css({ 'background-color': '#323232', // grey_850 'color': '#EEEEEE' // dark text_col @@ -1415,7 +1415,10 @@ define([ $iframe.find('html').css({ 'background-color': '#FFF' }); - } + }*/ + $iframe.find('html').css({ + 'background-color': '#FFF' + }); }).nThen(waitFor()); }).nThen(function(waitFor) {