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。
关于javascript - 如何在ckeditor中设置文本自动颜色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32137316/