Hello, I used the admin page of tinytinymce to try to add some new buttons to the simple them but it's not working. How could I change the simple theme buttons? Here is the config I used. Thanks
tinyMCE.init({
mode : "exact",
// elements: "edit-body",
theme : "simple",
plugins : "emotions",
theme_simple_buttons1 : "emotions"
});
Comments
Comment #1
Steve Lockwood commentedHi Dani,
You will need to make the simple theme into a "cut down" version of the advanced theme. An init script for the simple theme such as this should work:
This is the same as your script but I have changed "simple" to "advanced"
Steve
Comment #2
daniorama commentedThank you! That worked wonderful!
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
fabrizioprocopio commentedSorry to re-open this issue, but I'm not so xp and the informations here is not enough.
I just need to add the -insert image button- to simple mode.
I supposed I have substitute the actual code in the TinyMCE init script for simple mode
with the following code (but I scare to try before you tell me I can):
tinyMCE.init({
mode : "exact",
skin : "o2k7",
language : 'it',
init_instance_callback : "resizeEditorBox",
theme : "advanced"
plugins : "image",
theme_advanced_buttons1 : "image"
});
Some help