Active
Project:
HeadJS
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jun 2011 at 00:20 UTC
Updated:
28 May 2012 at 13:12 UTC
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
Comment #1
niteman commentedsubscribing, with not jquery dependant version of TinyMCE
Comment #2
superfedya commentedSame problem! Any fix?
Comment #3
jroos commentedSubscribing - same problem
Comment #4
peter törnstrand commentedSame applies to CKEditor with Wysiwyg module.
Comment #5
maximer commentedWhat is the best way to load the TinyMCE library only is the admin theme and without HEADJS?
Comment #6
superfedya commentedsame problem. any fix?