ueditor黑暗模式下的文字

This commit is contained in:
thinkgem
2024-01-31 12:04:34 +08:00
parent 2ba8b953d3
commit 5fb6ab0ca6
2 changed files with 4 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
/*可以在这里添加你自己的css*/
p{line-height:28px}
p {line-height:28px}
.skin-dark {background: #1a1a1a;border-color:#414141;color:#ddd}

View File

@@ -6929,7 +6929,8 @@ var fillCharReg = new RegExp(domUtils.fillChar, 'g');
container.style.zIndex = options.zIndex;
var html = ( ie && browser.version < 9 ? '' : '<!DOCTYPE html>') +
'<html xmlns=\'http://www.w3.org/1999/xhtml\' class=\'view\' ><head>' +
'<html xmlns=\'http://www.w3.org/1999/xhtml\' class=\'view '
+ $('html').attr('class') + '\' ><head>' +
'<style type=\'text/css\'>' +
//设置四周的留边
'.view{padding:0;word-wrap:break-word;cursor:text;height:90%;}\n' +