<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Changing Background Color of TinyMCE Editor - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 09 Jun 2026 18:15:19 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Changing Background Color of TinyMCE Editor</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46416</link>
                        <pubDate>Wed, 30 Sep 2020 18:33:00 +0000</pubDate>
                        <description><![CDATA[Posted by: @alvina 
@donnongt,
Have you tried to add the code in the active theme functions.php file? If not please add the code provided by Blackraz in the above post, delete all caches, ...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="10870" data-postid="46406" data-mention="alvina">
<div class="wpforo-post-quote-author"><strong> Posted by: @alvina </strong></div>
<p>@donnongt,</p>
<p>Have you tried to add the code in the active theme functions.php file? If not please add the code provided by Blackraz in the above <a href="https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46394" target="true">post</a>, delete all caches, and check again.</p>
</blockquote>
<p>OK, adding it to the functions.php file did the trick. That will mean possibly having to place the code back into the functions file whenever the theme is upgraded, but that is a small price to pay.</p>
<p>I really appreciate your help with this. It was a small issue, but it was frustrating. Eric</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>DonnonGT</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46416</guid>
                    </item>
				                    <item>
                        <title>RE: Changing Background Color of TinyMCE Editor</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46406</link>
                        <pubDate>Wed, 30 Sep 2020 10:11:14 +0000</pubDate>
                        <description><![CDATA[@donnongt,
Have you tried to add the code in the active theme functions.php file? If not please add the code provided by Blackraz in the above post, delete all caches, and check again.]]></description>
                        <content:encoded><![CDATA[<p>@donnongt,</p>
<p>Have you tried to add the code in the active theme functions.php file? If not please add the code provided by Blackraz in the above <a href="https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46394" target="true">post</a>, delete all caches, and check again.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Alvina</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46406</guid>
                    </item>
				                    <item>
                        <title>RE: Changing Background Color of TinyMCE Editor</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46400</link>
                        <pubDate>Tue, 29 Sep 2020 18:42:01 +0000</pubDate>
                        <description><![CDATA[Posted by: @dimalifragis 
The Code Snippets plugin make all sites SLOW. Not sure why, maybe because all code in stored in the database.
The best way is to create  a pseudo plugin that cont...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="15676" data-postid="46399" data-mention="dimalifragis">
<div class="wpforo-post-quote-author"><strong> Posted by: @dimalifragis </strong></div>
<p><strong>The Code Snippets plugin make all sites SLOW. </strong>Not sure why, maybe because all code in stored in the database.</p>
<p>The best way is to create  a pseudo plugin that contain all custom code. There is plenty of information about it on the net.</p>
<p> </p>
</blockquote>
<p>Thanks for the info. I'll look into doing that. Cheers.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>DonnonGT</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46400</guid>
                    </item>
				                    <item>
                        <title>RE: Changing Background Color of TinyMCE Editor</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46399</link>
                        <pubDate>Tue, 29 Sep 2020 18:18:56 +0000</pubDate>
                        <description><![CDATA[The Code Snippets plugin make all sites SLOW. Not sure why, maybe because all code in stored in the database.
The best way is to create  a pseudo plugin that contain all custom code. There ...]]></description>
                        <content:encoded><![CDATA[<p><strong>The Code Snippets plugin make all sites SLOW. </strong>Not sure why, maybe because all code in stored in the database.</p>
<p>The best way is to create  a pseudo plugin that contain all custom code. There is plenty of information about it on the net.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>dimalifragis</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46399</guid>
                    </item>
				                    <item>
                        <title>RE: Changing Background Color of TinyMCE Editor</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46398</link>
                        <pubDate>Tue, 29 Sep 2020 18:16:25 +0000</pubDate>
                        <description><![CDATA[Posted by: @blackraz 
Hi @donnongt
Please remove the code you&#039;ve added in footer, then install and activate the Code Snippets plugin. After this, insert the code below using the plugin. Th...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="1126" data-postid="46394" data-mention="blackraz">
<div class="wpforo-post-quote-author"><strong> Posted by: @blackraz </strong></div>
<p>Hi <span>@donnongt</span></p>
<p><span>Please remove the code you've added in footer, then install and activate the Code Snippets plugin. After this, insert the code below using the plugin. </span><span>The plugin can be found here: </span><a class="c-link" href="https://wordpress.org/plugins/code-snippets/" target="_blank" rel="noopener noreferrer" data-stringify-link="https://wordpress.org/plugins/code-snippets/" data-sk="tooltip_parent">https://wordpress.org/plugins/code-snippets/</a><span class="c-mrkdwn__br" data-stringify-type="paragraph-break"></span><span>Another way, you can put the same code in the active theme functions.php file.</span></p>
<p> </p>
<pre><span>add_filter</span><span>(</span><span>'wpforo_editor_settings'</span><span>, </span><span>function</span><span>(</span><span>$s</span><span>){<br /></span><span>   </span><span>$s</span><span> .= </span><span>"body{background-color:#ccffcc; color:#000000;}"</span><span>;<br /></span><span>   </span><span>return </span><span>$s</span><span>;<br /></span><span>});</span></pre>
<p><span> </span></p>
</blockquote>
<p> </p>
<p>Hello. I appreciate the heads-up on the Code Snippets plugin.</p>
<p>I entered the code you wrote above in the Code Snippets plugin and unfortunately, it did not work. It looked like this in the plugin:</p>
<p>&lt;?php</p>
<p>add_action( 'wp_head', function () { ?&gt;</p>
<p>&lt;script type="text/javascript"&gt;<br />add_filter('wpforo_editor_settings', function($s){<br />$s .= "body{background-color:#ccffcc; color:#000000;}";<br />return $s;<br />});<br />&lt;/script&gt;</p>
<p>&lt;?php } );</p>
<p> </p>
<p>When I entered the original code I was using into Code Snippets it worked, but with the same problem as before. It does not work when you edit a post or when you click on an 'Add Topic' button in a Threaded Category, on a forum index page. It does work for just a moment and then something overrides it and changes the textarea back to white. The original code looks like this, in the Code Snippets plugin:</p>
<p> </p>
<pre>&lt;?php<br /><br />add_action( 'wp_head', function () { ?&gt;<br /><br />&lt;script type="text/javascript"&gt;<br />jQuery(window).load(function() {<br />tinyMCE.activeEditor.dom.addStyle('body{background-color:#ccffcc !important; color:#000000 !important;}');<br />});<br />&lt;/script&gt;<br /><br />&lt;?php } )</pre>
<p> </p>
<p>I'm not sure where to look next. Something interferes with attempts to change in the textarea background color in those two TinyMCE editor forms and I'm not sure what it is. Any ideas.</p>
<p>Thanks again for the advice.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>DonnonGT</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46398</guid>
                    </item>
				                    <item>
                        <title>RE: Changing Background Color of TinyMCE Editor</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46394</link>
                        <pubDate>Tue, 29 Sep 2020 14:42:27 +0000</pubDate>
                        <description><![CDATA[Hi @donnongt
Please remove the code you&#039;ve added in footer, then install and activate the Code Snippets plugin. After this, insert the code below using the plugin. The plugin can be found h...]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@donnongt</span></p>
<p><span>Please remove the code you've added in footer, then install and activate the Code Snippets plugin. After this, insert the code below using the plugin. </span><span>The plugin can be found here: </span><a class="c-link" href="https://wordpress.org/plugins/code-snippets/" target="_blank" rel="noopener noreferrer" data-stringify-link="https://wordpress.org/plugins/code-snippets/" data-sk="tooltip_parent">https://wordpress.org/plugins/code-snippets/</a><span class="c-mrkdwn__br" data-stringify-type="paragraph-break"></span><span>Another way, you can put the same code in the active theme functions.php file.<br /><br /></span></p>
<pre><span>add_filter</span><span>(</span><span>'wpforo_editor_settings'</span><span>, </span><span>function</span><span>(</span><span>$s</span><span>){<br /></span><span>   </span><span>$s</span><span> .= </span><span>"body{background-color:#ccffcc; color:#000000;}"</span><span>;<br /></span><span>   </span><span>return </span><span>$s</span><span>;<br /></span><span>});</span></pre>
<p><span> </span></p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>BlackRaz</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46394</guid>
                    </item>
				                    <item>
                        <title>RE: Changing Background Color of TinyMCE Editor</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46384</link>
                        <pubDate>Tue, 29 Sep 2020 08:57:15 +0000</pubDate>
                        <description><![CDATA[@donnongt,
Sorry for the late response.
I&#039;ve just asked our developers about it and currently, I&#039;m waiting for the response from them. I&#039;ll update the topic once I get some response from t...]]></description>
                        <content:encoded><![CDATA[<p>@donnongt,</p>
<p>Sorry for the late response.</p>
<p><span style="font-weight: 400">I've just asked our developers about it and currently, I'm waiting for the response from them. I'll update the topic once I get some response from them.</span></p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Alvina</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46384</guid>
                    </item>
				                    <item>
                        <title>RE: Changing Background Color of TinyMCE Editor</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46345</link>
                        <pubDate>Sun, 27 Sep 2020 20:08:29 +0000</pubDate>
                        <description><![CDATA[Any ideas?]]></description>
                        <content:encoded><![CDATA[<p>Any ideas?</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>DonnonGT</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46345</guid>
                    </item>
				                    <item>
                        <title>Changing Background Color of TinyMCE Editor</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46335</link>
                        <pubDate>Sat, 26 Sep 2020 21:17:42 +0000</pubDate>
                        <description><![CDATA[Hello. I am trying to change the background color of the text input fields on my wpForo forum. I was able to change most of the text input fields with some added css, but the TinyMCE editors...]]></description>
                        <content:encoded><![CDATA[<p>Hello. I am trying to change the background color of the text input fields on my wpForo forum. I was able to change most of the text input fields with some added css, but the TinyMCE editors have proven more difficult.</p>
<p>I added the code below to the footer of my site and it changes the color of the editor background when you click into a specific forum and then click the 'Add Topic' button. If you click on the 'Add Topic' button on a forum index page and then choose the destination forum you want, the textarea of the editor that appears is the new color for an instant and then it changes back to white. The color change also does not work in the editor when you are editing a post.</p>
<p><strong>&lt;script type="text/javascript"&gt;</strong><br /><strong>jQuery(window).load(function() {</strong><br /><strong>tinyMCE.activeEditor.dom.addStyle('body{background-color:#ccffcc !important; color:#000000 !important; }');</strong><br /><strong>});</strong><br /><strong>&lt;/script&gt;</strong></p>
<p>Any ideas on how to change the background color of all the TinyMCE editors? I appreciate the help.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>DonnonGT</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/changing-background-color-of-tinymce-editor/#post-46335</guid>
                    </item>
							        </channel>
        </rss>
		