Prototype js libraries and WYSIWYG editor

Hi all,


we are including the prototype.js library in our asset builders to help with a few things (including ajax calls).



I have found however that it clashes with some of the javascript that the WYSIWYG editor uses (eg in the description field for a Single Calendar Event) and even though I can edit the content in the WYSIWYG editor I cant use any of the toolbar buttons.



Has anyone else found this and, if so, has anyone worked out a way of fixing the problem?



Thanks,



Steve.

[quote]Hi all,


we are including the prototype.js library in our asset builders to help with a few things (including ajax calls).



I have found however that it clashes with some of the javascript that the WYSIWYG editor uses (eg in the description field for a Single Calendar Event) and even though I can edit the content in the WYSIWYG editor I cant use any of the toolbar buttons.



Has anyone else found this and, if so, has anyone worked out a way of fixing the problem?



Thanks,



Steve.[/quote]

Use another library. It is caused by a clash between some of the internal functions and the library. The same occurs with MooTools.



I use jQuery because it is name-spaced, and avoids this issue. It is also faster than prototype.



Have you seen Nic's jquery library for Matrix?