<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rarecore development &#187; TinyMCE</title>
	<atom:link href="http://blog.rarecore.eu/category/php/tinymce/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.rarecore.eu</link>
	<description>the blog that matters...</description>
	<lastBuildDate>Tue, 27 Dec 2011 10:15:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>The unsupported TinyMCE BB Code Bug&#8230;</title>
		<link>http://blog.rarecore.eu/the_unsupported_tinymce_bbcode_bug.html</link>
		<comments>http://blog.rarecore.eu/the_unsupported_tinymce_bbcode_bug.html#comments</comments>
		<pubDate>Fri, 05 Dec 2008 14:07:46 +0000</pubDate>
		<dc:creator>Exi</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[rarecore]]></category>
		<category><![CDATA[TinyMCE]]></category>
		<category><![CDATA[we are one]]></category>
		<category><![CDATA[tinymce bbcode]]></category>
		<category><![CDATA[tinymce bbcode bug]]></category>
		<category><![CDATA[tinymce bug]]></category>

		<guid isPermaLink="false">http://blog.rarecore.eu/?p=144</guid>
		<description><![CDATA[TinyMCE is a nice WYSIWYG Editor for a Webapplication. In my application I’m very interested in allowing the users to use BB Code to optimize the visualisation of the texts (guestbooks, news comments, …). Before I released the TinyMCE Editor on my Webradio website, I did some tests. 1. At first, I entered the following text [...]]]></description>
			<content:encoded><![CDATA[<p>TinyMCE is a nice WYSIWYG Editor for a Webapplication. In my application I’m very interested in allowing the users to use BB Code to optimize the visualisation of the texts (guestbooks, news comments, …). Before I released the TinyMCE Editor on my <a href="http://www.technobase.fm" target="_blank">Webradio </a>website, I did some tests.</p>
<p><strong>1. At first, I entered the following text into my textarea:</strong><br />
<img class="alignnone" title="Step 1" src="http://blog.rarecore.eu/wp-content/uploads/2008/12/step1.png" alt="" width="351" height="194" /></p>
<p><strong>2. After submit the form, I get this text displayed:</strong><br />
<img class="alignnone" title="Step 2" src="http://blog.rarecore.eu/wp-content/uploads/2008/12/step2.png" alt="" width="350" height="296" /></p>
<p>Now you can see that the text which is between the &lt;strong&gt; tag is now displayed as bold. But, it shouldn’t be! If I choose the BB code plugin I think the html tag should be disabled…</p>
<p><strong>3. After submit the form again, I get this text displayed:</strong><br />
<img class="alignnone" title="Step 3" src="http://blog.rarecore.eu/wp-content/uploads/2008/12/step3.png" alt="" width="351" height="294" /><br />
Well, now my HTML Tag is rendered as a bb code tag. That’s wrong. I want to display the html tag and not a formatted bb code text.</p>
<p>I searched for support, but nobody on the TinyMCE board helps me…<br />
After some tests, I think, I fixed the bug.</p>
<p>Please change the _tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js file and add the following lines to line 47 (before replacing the old tags).</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">rep<span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/&amp;amp;lt;/gi</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;&amp;amp;amp;lt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
rep<span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/&amp;amp;gt;/gi</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;&amp;amp;amp;gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><a title="TinyMCE BBCode Bugfix" href="http://blog.rarecore.eu/wp-content/uploads/2008/12/tinymce_bbcode_bugfix.zip">Download bugfix</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rarecore.eu/the_unsupported_tinymce_bbcode_bug.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

