Question

In global, I have used the "advanced" theme layout for Tiny MCE editor. In a single, I used the "Simple" theme layout

  • It is working fine upto Joomla 3.1 version, however it is not working in Joomla 3.2 because of tinyMce upgrade to version 4.0.

  • Is there any option to get the "simple" theme layout in the webpage.

I have used the below code for Joomla 3.1

tinyMCE.init({
 mode : "textareas",
 editor_selector : "mceEditor",
 theme : "simple"
});
Was it helpful?

Solution

You could always load the editor using the JFactory::getEditor() method like so:

$editor = JFactory::getEditor();
echo $editor->display("desc", "", "400", "100", "150", "10", 1, null, null, null, array('mode' => 'simple'));

If not, then have a look at line 565 of plugins/editors/tinymce/tinymce.php where the script for the simple editor starts

Hope tis helps

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top