<?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>Thoughts Electrique &#187; FCKEditor</title>
	<atom:link href="http://www.sebastian.himberger.de/blog/tag/fckeditor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sebastian.himberger.de/blog</link>
	<description>Sebastian Himbergers blog about technology and software development</description>
	<lastBuildDate>Sat, 16 Jul 2011 22:48:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>JavaScript void links in OpenCms 6.2.3 WYSIWYG</title>
		<link>http://www.sebastian.himberger.de/blog/2008/11/28/javascript-void-links-in-opencms-623-wysiwyg/</link>
		<comments>http://www.sebastian.himberger.de/blog/2008/11/28/javascript-void-links-in-opencms-623-wysiwyg/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 19:49:42 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[FCKEditor]]></category>
		<category><![CDATA[OpenCms]]></category>

		<guid isPermaLink="false">http://www.sebastian.himberger.de/blog/?p=207</guid>
		<description><![CDATA[Just a quick note: There was a long standing problem regarding the FCKEditor (HTML editor) in OpenCms 6.2.X using Firefox 3. Adding links always produced an URL like javascript:void(0)/*1241321*/. Since most customers are already on OpenCms 7 this is not such a big problem but recently I had to look for a fix. It turned [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note: There was a long standing problem regarding the FCKEditor (HTML editor) in OpenCms 6.2.X using Firefox 3. Adding links always produced an URL like <em><span class="searchword0">javascript</span>:<span class="searchword1">void</span>(0)/*1241321*/</em>. Since most customers are already on OpenCms 7 this is not such a big problem but recently I had to look for a fix. It turned out the bug was quite popular and there is quite an easy workaround.</p>
<p>Open the file<em> /system/workplace/resources/editors/fckeditor/editor/js/fckeditorcode_gecko_2.js</em> in OpenCms and replace the text:</p>
<pre>FCK.ExecuteNamedCommand('CreateLink',B);var C=<strong>document</strong>.evaluate<strong>
</strong></pre>
<p>with:</p>
<pre>FCK.ExecuteNamedCommand('CreateLink',B);var C=<strong>this.EditorDocument</strong>.evaluate</pre>
<p>Publish the file and this should be it. Don&#8217;t forget to empty your browser cache afterwards (don&#8217;t just press CTRL+F5) otherwise you will still get the old file.</p>
<p>Of course this is not a real fix, but if you have to get rid of the problem fast. This can help.</p>
<p><strong>Update:</strong> In OpenCms 6.2.3 the file is called <em>fckeditorcode_gecko.js </em>not<em> </em><em>fckeditorcode_gecko_2.js.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sebastian.himberger.de/blog/2008/11/28/javascript-void-links-in-opencms-623-wysiwyg/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

