简体   繁体   中英

TinyMCE change textarea background-color

Can I change background-color of TinyMCE's textarea from white to black? I've tried some old tricks, but it doesn't work.

The tinyMCE loads in a stylesheet that controls the background color. Usually the file name is content.css or content.min.css

If you can find this file in your particular configuration and set the background color of the body element to black, you should be set.

For example: http://www.tinymce.com/tryit/basic.php

The style sheet is located at:

http://tinymce.cachefly.net/4.0/skins/lightgray/content.min.css

You can change the css file content.min.css located in your theme directory. Change the definition of body{background-color:#fff; ...} to body{background-color:#000; ...}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM