Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TinyMCE Hide the bar

Tags:

tinymce

I use tinymce and i want to hide the button toolbar. Is there a way to do that?

like image 247
Mercer Avatar asked Apr 13 '10 08:04

Mercer


People also ask

How do I get rid of powered by tiny?

Use the branding option to disable the “Powered by Tiny” link displayed in the status bar for product attribution.

How do I resize TinyMCE?

max_width. This option sets the maximum width that a user can stretch the entire TinyMCE interface (by grabbing the draggable area in the bottom right of the editor interface). This behavior is different than the autoresize plugin, which controls the resizing of the editable area only, not the entire editor.


1 Answers

Using tinyMCE 4 you can set the following in the tinymce init:

toolbar: false

Here is a full blown example of the init if you want a clean editor with no options:

<script type="text/javascript">
    tinymce.init({
        menubar: false,
        statusbar: false,
        toolbar: false
    });
</script>
like image 189
JasonH Avatar answered Sep 26 '22 00:09

JasonH