문제

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"
});
도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top