<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: [Plugin: WP Super Edit] Disable the HTML tab?</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: [Plugin: WP Super Edit] Disable the HTML tab?</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 12:31:11 +0000</pubDate>

<item>
<title>stephb on "[Plugin: WP Super Edit] Disable the HTML tab?"</title>
<link>http://wordpress.org/support/topic/218907#post-1188714</link>
<pubDate>Wed, 26 Aug 2009 14:54:10 +0000</pubDate>
<dc:creator>stephb</dc:creator>
<guid isPermaLink="false">1188714@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi kontrivemedia,&#60;/p&#62;
&#60;p&#62;What does the whole line of code look like, I can't quite get it to work. Would you be able to email me what the line of code is supposed to be at &#60;a href=&#34;mailto:sbalza@feeco.com&#34;&#62;sbalza@feeco.com&#60;/a&#62;. I tried to post here what I tried doing, but it looked different after I posted it. Thanks a bunch!
&#60;/p&#62;</description>
</item>
<item>
<title>kontrivemedia on "[Plugin: WP Super Edit] Disable the HTML tab?"</title>
<link>http://wordpress.org/support/topic/218907#post-1163407</link>
<pubDate>Wed, 05 Aug 2009 02:33:32 +0000</pubDate>
<dc:creator>kontrivemedia</dc:creator>
<guid isPermaLink="false">1163407@http://wordpress.org/support/</guid>
<description>&#60;p&#62;HOW TO: REMOVE HTML MODE for WordPress User Roles&#60;br /&#62;
The following change to the WordPress code will allow you to control which user roles have the ability to view the HTML mode when editing content. After the code has been changed - this exact code will only allow Admin users to use the HTML and Visual Mode. All other users will be limited to Visual Mode Only.&#60;br /&#62;
--------------------------------&#60;/p&#62;
&#60;p&#62;WordPress is a great CMS tool.&#60;br /&#62;
I also wanted to add additional control over what each user is able to change within the admin. The above mentioned CSS solutions did not work for me nor did they seem like a clean solution.&#60;/p&#62;
&#60;p&#62;The clean and simple way to add user level control over this feature is the following:&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Find:&#60;/strong&#62; wp-includes/general-template.php&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Find:&#60;/strong&#62; &#60;code&#62;&#38;lt;a id=&#38;quot;edButtonHTML&#38;quot; onclick=&#38;quot;switchEditors.go(&#38;#39;&#38;lt;?php echo $id; ?&#38;gt;&#38;#39;, &#38;#39;html&#38;#39;);&#38;quot;&#38;gt;&#38;lt;?php _e(&#38;#39;HTML&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;It will be located around line: 1506&#60;br /&#62;
&#60;strong&#62;Replace:&#60;/strong&#62; `&#38;lt;?php if ( current_user_can('level_10') ) { ?&#38;gt;&#60;br /&#62;
            &#60;a&#62;', 'html');&#34;&#38;gt;&#38;lt;?php _e('HTML'); ?&#38;gt;&#60;/a&#62;&#60;br /&#62;
			&#38;lt;?php } ?&#38;gt;`&#60;/p&#62;
&#60;p&#62;Similar code can be found in: wp-admin/press-this.php&#60;br /&#62;
It is not a requirement to make changes in this document.&#60;/p&#62;
&#60;p&#62;I hope this solution helps the development community. It would be nice if someone would convert this into a plugin with additional controls.&#60;/p&#62;
&#60;p&#62;Visit us online: &#60;a href=&#34;http://www.kontrive.com&#34;&#62;http://www.kontrive.com&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>ev3rywh3re on "[Plugin: WP Super Edit] Disable the HTML tab?"</title>
<link>http://wordpress.org/support/topic/218907#post-967313</link>
<pubDate>Mon, 26 Jan 2009 22:14:43 +0000</pubDate>
<dc:creator>ev3rywh3re</dc:creator>
<guid isPermaLink="false">967313@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Just tried this trick on the svn trunk. My fault it's an ID not a CLASS.&#60;/p&#62;
&#60;p&#62;I put this at the very bottom of my wp-admin/css/colors-classic.css. So you would need to put at the end of any particular admin color theme css file. Ideally it would be better in a css file and wp_enqueue'd via a WordPress plugin. It will probably need to be LAST in the CSS scope to work.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#editor-toolbar #edButtonHTML {
	display: none;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I really had to do some cache flushing and reloading before it worked.
&#60;/p&#62;</description>
</item>
<item>
<title>popart on "[Plugin: WP Super Edit] Disable the HTML tab?"</title>
<link>http://wordpress.org/support/topic/218907#post-958902</link>
<pubDate>Sat, 17 Jan 2009 22:59:46 +0000</pubDate>
<dc:creator>popart</dc:creator>
<guid isPermaLink="false">958902@http://wordpress.org/support/</guid>
<description>&#60;p&#62;.edButtonHTML {&#60;br /&#62;
   display: none;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;Has anyone tested this code above to see if it works to disable the HTML editor in WP2.7? And in which css file should it be placed? I tried putting it in wp-admin/rtl.css but it doesn't have any effect.
&#60;/p&#62;</description>
</item>
<item>
<title>popart on "[Plugin: WP Super Edit] Disable the HTML tab?"</title>
<link>http://wordpress.org/support/topic/218907#post-958854</link>
<pubDate>Sat, 17 Jan 2009 21:56:05 +0000</pubDate>
<dc:creator>popart</dc:creator>
<guid isPermaLink="false">958854@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm also interested in disabling the html editor for certain users (basically disable it for everyone except admin.) I'm building a site for a client and want to &#34;idiot-proof&#34; the text editor. Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>dragontheory on "[Plugin: WP Super Edit] Disable the HTML tab?"</title>
<link>http://wordpress.org/support/topic/218907#post-904856</link>
<pubDate>Fri, 21 Nov 2008 18:24:02 +0000</pubDate>
<dc:creator>dragontheory</dc:creator>
<guid isPermaLink="false">904856@http://wordpress.org/support/</guid>
<description>&#60;br /&#62;</description>
</item>
<item>
<title>dragontheory on "[Plugin: WP Super Edit] Disable the HTML tab?"</title>
<link>http://wordpress.org/support/topic/218907#post-904854</link>
<pubDate>Fri, 21 Nov 2008 18:23:26 +0000</pubDate>
<dc:creator>dragontheory</dc:creator>
<guid isPermaLink="false">904854@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks for responding.&#60;/p&#62;
&#60;p&#62;Yea, I'm using Wordpress as a CMS (&#60;a href=&#34;http://honormen.org&#34;&#62;honormen.org&#60;/a&#62;) so I don't want to open a &#34;Pandora's Box&#34; of formatting and security issues by letting contributors edit the source. &#60;/p&#62;
&#60;p&#62;I found the same CSS but I need to be able to edit the source as admin. That is why I was asking if it could be controled based on role. Because it is not a &#34;plug-in&#34;, editing the admin CSS file would be reset if/when Wordpress releases an update right? &#60;/p&#62;
&#60;p&#62;Look forward to your next release of this very cool plug-in.
&#60;/p&#62;</description>
</item>
<item>
<title>ev3rywh3re on "[Plugin: WP Super Edit] Disable the HTML tab?"</title>
<link>http://wordpress.org/support/topic/218907#post-903885</link>
<pubDate>Thu, 20 Nov 2008 18:19:49 +0000</pubDate>
<dc:creator>ev3rywh3re</dc:creator>
<guid isPermaLink="false">903885@http://wordpress.org/support/</guid>
<description>&#60;p&#62;That is a new one!&#60;/p&#62;
&#60;p&#62;The easiest method I've seen so far from some quick research is to actually set the CSS for the .edButtonHTML in the admin css.&#60;/p&#62;
&#60;p&#62;it would be something like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.edButtonHTML {
   display: none;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It doesn't actually remove the functionality, but it would hide it from view. &#60;/p&#62;
&#60;p&#62;I'm going to add it to my feature requests, but that might prove a little tricky. I do see how it would be an advantage if was configurable on a user or role basis.
&#60;/p&#62;</description>
</item>
<item>
<title>dragontheory on "[Plugin: WP Super Edit] Disable the HTML tab?"</title>
<link>http://wordpress.org/support/topic/218907#post-903397</link>
<pubDate>Thu, 20 Nov 2008 05:16:10 +0000</pubDate>
<dc:creator>dragontheory</dc:creator>
<guid isPermaLink="false">903397@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks for this great plug in. &#60;/p&#62;
&#60;p&#62;Can WP Super Edit disable the HTML tab on the WYSIWYG editor for only the Contributor role? If so, how? &#60;/p&#62;
&#60;p&#62;Thanks in advance.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
