Custom Toolbar Menu Button

This example shows you how to add a simple menu button to TinyMCE's toolbar.

Contribute to this page

This example shows you how to add a simple menu button to TinyMCE's toolbar. This demo inserts text at the cursor. The Codepen JS also shows you how to add sub-menus to a menu item.

See the Pen EVzKyX by TinyMCE (@tinymce) on CodePen.

Can't find what you're looking for? Let us know.

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.