Is there a way to selectively remove the "File" option from the Menu Bar without specifying each individual menu item?
https://i.sstatic.net/SFgvi.png
I attempted the following method:
menu: {
edit: {title: 'Edit', items: 'undo redo | cut copy paste pastetext | selectall'},
view: {title: 'View', items: 'visualaid'},
}
While this approach works, I am looking for a way to remove only the "File" option while keeping all other menu options intact.
Instead of listing out every desired menu item and its sub-options, is there a simpler way to specify which elements to exclude from the menu structure?
Could something like a "remove" function be utilized in this scenario?
Your suggestions are greatly appreciated!
Thank you in advance!!