Pregunta

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.

¿Fue útil?

Solución

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>
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top