Script.aculo.us and TinyMCE Incompatibility Solution

I found that when I tried to use Script.aculo.us and TinyMCE together, that I lost 1 functionality of one of the two scripts on Firefox. The solution I found was to place the Script.aculo.us <script> tags directly below the <body> tag.

1
2
3
4
5
6
7
...
<script type="text/javascript"><!--mce:0--></script>
<script type="text/javascript"><!--mce:1--></script>
 
<script src="scripts/prototype.js" type="text/javascript"><!--mce:2--></script>
<script src="scripts/scriptaculous.js" type="text/javascript"><!--mce:3--></script>
...

2 Responses to “Script.aculo.us and TinyMCE Incompatibility Solution”

 cmishii Says:

In Oct 2006 you made a post at labnotes about the advanced wysiwyg color picker not working in wordpress – opening a 404 page with the address javascript:colorSelect();. You posted a solution, but it got cut out of the post. Do you remember what you did to get it working and can you tell me? I have the same problem and have searched high and low for the answer to no avail. Sorry to post this here, but I am out of options…

Thanks,

Chris

Marion Dorsett marion Says:

I don’t remember the exact change, but I did remember what site I added it to.

Open the file:
\wp-includes\js\colorpicker.js

I changed line 89 according to my post on labnotes, but I don’t remember what I changed.

Follow this link to contents of line 89.
http://www.figmentthinking.com/color_picker.js.php

Leave a Reply

Spam Protection by WP-SpamFree