Question

I am trying to use jquery version of tinymce 4.

<script src="http://tinymce.cachefly.net/4.0/jquery.tinymce.min.js"></script>
<script>
$(function(){
    $("textarea").tinymce();
});
</script>
<textarea>Your content here.</textarea>

But when I run the page, I get the error message tinymce is not defined. How can I fix it? Thank you.

Was it helpful?

Solution

You should add these files:

<script src="/js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="/js/tinymce/tinymce.min.js" type="text/javascript"></script>
<script src="/js/tinymce/jquery.tinymce.min.js" type="text/javascript"></script>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top