Topic: Different buttons on same page
Tere,
I have more than one TinyMCE textareas on the same page.
How can I display/use different buttons in each
Pages 1
Tere,
I have more than one TinyMCE textareas on the same page.
How can I display/use different buttons in each
Ya, create multiple init functions and use editor_selector to distinguish them.
What I need is that:
- textarea1 has no buttons at all
- textarea2 has only 'print' button
At the moment it is like this:
tinyMCE.init({
mode : "specific_textareas",
editor_selector : "textarea1",
theme : "simple"
});
tinyMCE.init({
mode : "specific_textareas",
editor_selector : "textarea2",
theme : "advanced",
plugins : "print",
theme_advanced_buttons1 : "print"
Last edited by Sakunne (2012-05-26 10:27:11)
Um. So does it work?
You likely also need:
theme_advanced_buttons2: "",
theme_advanced_buttons3: "",The next release will remove the need to empty these out. Makes more sense but might break some compatibility.
Pages 1
You are not logged in. Please login or register.