user2598808
user2598808

Reputation: 643

Tiny MCE - Remove 'FIle' option from Menu

Does anyone know how to remove just the option "File" from the Menu Bar.

enter image description here

I have tried this way :

menu: {
edit: {title: 'Edit', items: 'undo redo | cut copy paste pastetext | selectall'},
view: {title: 'View', items: 'visualaid'},
       }

It works but I want to retain all options in Menu except "File".

In stead of specifying each and every menu option and its sub options of what all we need, is there a way to specify just what we do not need from the menu?

Something like "remove" ?

Please suggest.

Thanks in advance !!

Upvotes: 1

Views: 3168

Answers (2)

CodeLover
CodeLover

Reputation: 281

This might help you.It,s not exact your answer but, you will get helo how to customize the menu bar of TINyMce

Upvotes: 0

wero
wero

Reputation: 32980

You can configure this with the menubar option.

tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  menubar: 'edit insert view format table tools'  // skip file
});

Upvotes: 4

Related Questions