When I load the sample into an existing div, the page loads but just shows a plain textarea:
- Code: Select all
$(document).ready(function() {
$("#cms_edit").load('/js/wymeditor/examples/01-basic.html'); // load the same exact file that works into a div
})
I've even replaced the jquery call to load from googleapis.com, where I already load it, to ensure there is no conflict from multiple jquery instances:
- Code: Select all
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
The div that I'm loading the content into is nested in the page as such:
html > body > div#adminmenu_top.ui-tabs > div#ui-tabs-1.ui-tabs-panel > div#cms_edit
Any help is greatly appreciated. I really like the functionality of this editor and would like to deploy this to my team.