I'm using the WYSIWYG module to load the jquery dependent versions of the TinyMCE library. Unfortunately, since TinyMCE doesn't get loaded through headJS, it loads before jquery, causing the library to break.

How do we get TinyMCE to load through headJS?

Below is the code from my site:

  <script type="text/javascript" src="/sites/all/libraries/headjs/head.load.min.js"></script>
<script type="text/javascript">

<!--//--><![CDATA[//><!--
head.js("http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js", "/sites/bioworldusa.com/files/advagg_js/js_52ae9b20d07a214cf2b5eb3bbd675899_0.js", "/sites/bioworldusa.com/files/advagg_js/js_937aa29b3e0368ca10abd17cb2949790_0.js", "/sites/bioworldusa.com/files/advagg_js/js_98857811d9431bbd0f1269e5f5070100_0.js", "/sites/bioworldusa.com/files/advagg_js/js_fe6f64e99b113a1a8ed76475bcf0bfae_0.js"
//--><!]]>
</script>
<script type="text/javascript" src="/sites/all/libraries/tinymce/jscripts/tiny_mce/tiny_mce.js?g"></script>

Comments

niteman’s picture

subscribing, with not jquery dependant version of TinyMCE

superfedya’s picture

Same problem! Any fix?

jroos’s picture

Subscribing - same problem

peter törnstrand’s picture

Same applies to CKEditor with Wysiwyg module.

maximer’s picture

What is the best way to load the TinyMCE library only is the admin theme and without HEADJS?

superfedya’s picture

same problem. any fix?