How do I remove the "format" drop down button?
I tried theme_advanced_blockformats : 'h2,h3,p'
, but doesn't work.
Here is my code:
tinymce.init({
selector: "#description",
menubar: false,
theme_advanced_blockformats : 'h2,h3,p',
toolbar: " undo redo | removeformat | styleselect | bold italic | link | print preview media fullpage",
plugins: [
"link"
],
});
Instead of :
toolbar: " undo redo | removeformat | styleselect | bold italic | link | print preview media fullpage",
try (without styleselect
):
toolbar: " undo redo | removeformat | bold italic | link | print preview media fullpage",
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With