Restore rich text background color

pull/1/head
yflory 4 years ago
parent 290f062829
commit 1f258999cc

@ -1406,7 +1406,7 @@ define([
$ckeToolbar.find('.cke_button__image_icon').parent().hide(); $ckeToolbar.find('.cke_button__image_icon').parent().hide();
var $iframe = $('iframe').contents(); var $iframe = $('iframe').contents();
if (window.CryptPad_theme === 'dark') { /*if (window.CryptPad_theme === 'dark') {
$iframe.find('html').addClass('cp-dark').css({ $iframe.find('html').addClass('cp-dark').css({
'background-color': '#323232', // grey_850 'background-color': '#323232', // grey_850
'color': '#EEEEEE' // dark text_col 'color': '#EEEEEE' // dark text_col
@ -1415,7 +1415,10 @@ define([
$iframe.find('html').css({ $iframe.find('html').css({
'background-color': '#FFF' 'background-color': '#FFF'
}); });
} }*/
$iframe.find('html').css({
'background-color': '#FFF'
});
}).nThen(waitFor()); }).nThen(waitFor());
}).nThen(function(waitFor) { }).nThen(function(waitFor) {

Loading…
Cancel
Save