How to remove unwanted menu items?
Removing menu items: setRemovedMenuItems(“openLocationMenuItem, printFileMenuItem, closeFileMenuItem,…”) – Indicates which menu items should be removed from the menus. This list contains comma separated names of the menu items contained within the editor to be removed. This allows the full customization of the dropdown menus inside the main menu.