Hello,
I've been all over the place looking for an answer. Felt the easiest thing to do is post and see if any of you kind souls had a solution. We have a well oil installation of FCKEditor on our app. However there are a couple weird behaviors that I would like to remedy. This is one. When adding certain Javascript code in SOURCE view I'm finding various results where FCKEditor will transpose the Javascript and therefore render it dead or inoperable. This reveals itself when trying to add a simple script such as an AddThis bookmark.
I switch to SOURCE mode and paste the supplied script from AddThis. Here is the code going in:
<!-- AddThis Button BEGIN --> <script type="text/javascript">var addthis_pub="haddthis";</script> <a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script> <!-- AddThis Button END -->
Re: Javascript in Source gets Transposed
Well. I just tried pasting the code into the FCKEditor demo at this address and the same thing happens.
http://www.fckeditor.net/demo
That's disheartening.
Re: Javascript in Source gets Transposed
Am I missing something? No interest in this topic? Is there another thread that I might have missed?
Just wondering. Thanks.
H
Re: Javascript in Source gets Transposed