1

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 !!

user2598808
  • 633
  • 5
  • 22
  • 40
  • Possible solutions are here http://stackoverflow.com/questions/16033321/remove-menu-and-status-bars-in-tinymce-4 and http://stackoverflow.com/questions/16046208/tinymce-customize-file-menubar – Shoaib Akhter Apr 18 '16 at 07:04
  • I believe they have it in their documentation. https://www.tinymce.com/docs/configure/editor-appearance/#menu – Oli Soproni B. Apr 18 '16 at 07:06

2 Answers2

4

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
});
wero
  • 32,544
  • 3
  • 59
  • 84
0

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

Community
  • 1
  • 1
CodeLover
  • 271
  • 1
  • 3
  • 14