在 TinyMCE 中设置默认字体大小和背景颜色 [英] Setting default font size and background color in TinyMCE
问题描述
如何在 TinyMCE 中设置默认字体大小和背景颜色?
How can I set the default font size and the background color in TinyMCE?
谢谢,伊甸园
推荐答案
您是否尝试过 content_css 选项?此处的 TinyMCE 常见问题解答中提到了这一点:http://wiki.moxiecode.com/index.php/TinyMCE:FAQ#Change_default_text_color.2Feditor_background_in_TinyMCE.3F
Have you tried the content_css option? That's mentioned in the TinyMCE FAQ here: http://wiki.moxiecode.com/index.php/TinyMCE:FAQ#Change_default_text_color.2Feditor_background_in_TinyMCE.3F
你可以用它为你的编辑器指定一个 CSS 文件,允许你设置字体和背景颜色等内容.
You can specify a CSS file for your editor with this, allowing you to set things like font and background colour.
希望这有帮助;谢谢山姆
Hope this helps; thanks Sam
(我意识到这是一个很老的帖子,只是为了其他人阅读的利益而添加这个)
(I realise that this is a very old post, just adding this for the benefit of anyone else reading since)
这篇关于在 TinyMCE 中设置默认字体大小和背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!