This example shows you how to add an menu button with submenus, ones you click an item it will insert some contents into the editor.