I looked at this page: http://www.tinymce.com/tryit/3_x/jquery_plugin.php and clicked on the “View Source” tab and noticed something.
If you use TinyMCE as a jQuery plugin, an additional script_url parameter is required , so your code should look like this:
$('textarea.tinymce').tinymce({ script_url: 'js/portal/tinymce/tinymce.min.js', ...
Another solution is to use a version other than jQuery:
<script src="<?php echo base_url();?>js/portal/tinymce/tinymce.min.js"></script>
and then use the old method to run TinyMCE (as in your source code):
tinymce.init({ selector: "textarea", ...
Rafal gradziel
source share