如何在ckeditor中设置文本自动颜色?
How to set the text automatic color in ckeditor?
ckeditor默认的文字颜色是#333333,不知道有什么办法可以把颜色设置成#000000?
我试过在插件文件夹
中打开contents.css
body
{
/* Font */
font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
font-size: 12px;
/* Text color */
color: #333;
/* Remove the background color to make it transparent */
background-color: #fff;
margin: 20px;
}
并将颜色:#333 更改为#000000,但它不会改变任何内容。非常感谢。
在 contents.css 中将颜色更改为 #000
(不是 #000000)并将背景更改为 #222
(透明),然后您的文本将在透明背景上变为黑色。如果你想要白色背景,你可以使用#fff。
ckeditor默认的文字颜色是#333333,不知道有什么办法可以把颜色设置成#000000?
我试过在插件文件夹
中打开contents.cssbody
{
/* Font */
font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
font-size: 12px;
/* Text color */
color: #333;
/* Remove the background color to make it transparent */
background-color: #fff;
margin: 20px;
}
并将颜色:#333 更改为#000000,但它不会改变任何内容。非常感谢。
在 contents.css 中将颜色更改为 #000
(不是 #000000)并将背景更改为 #222
(透明),然后您的文本将在透明背景上变为黑色。如果你想要白色背景,你可以使用#fff。