Hello, i did try with <code> </code> tag and isn't working. I found and install another plugin rj_insertcode
Required Installation Steps
TinyMCE 3.x
1) Unzip the .zip file containing the plugin.
2) Copy the rj_insertcode folder into the TinyMCE plugins folder.
3) Register the plugin during your call to tinyMCE.Init().
a) Add 'rj_insertcode' to the plugins list. For example
plugins: "myPlugin1, myPlugin2, rj_insertcode"
b) Add 'rj_insertcode' to a toolbar row in the theme list. For example
theme_advanced_buttons1: "myButton1, myButton2, rj_insertcode"
But can't display the new button on my icon bar...
I found theme_advanced_buttons1 in \moodle\lib\editor\tinymce\lib.php file
// At least one line is required.
$params['theme_advanced_buttons1'] = 'rj_insertcode';
Also i have 2 plugin folders:
\moodle\lib\editor\tinymce\plugins - with 10 plugins where i placed rj_insertcode folder
adn another one with more plugins inside total 39
\moodle\lib\editor\tinymce\tiny_mce\3.5.10\plugins
Ok guys what are you using for code highlight ? I already spend couple of hours trying to enable it...