tinymce / tinymce-angular

Official TinyMCE Angular Component
MIT License
320 stars 92 forks source link

How do I add a custom button to the toolbar? #358

Closed eduardkennethlu closed 5 months ago

eduardkennethlu commented 11 months ago

Hi,

I would like to add a custom button that will apply a CSS letter spacing styling. I have seen the TinyMCE documentation and some examples over the net, but it is always written in jQuery.

Please help..

TinyITAdmin commented 11 months ago

Ref: INT-3205

danoaky-tiny commented 5 months ago

There's a number of different ways to create custom buttons in TinyMCE. Here is one example of a custom toggle button in the toolbar: https://www.tiny.cloud/docs/tinymce/latest/custom-toggle-toolbar-button/ If you have a look on the left side bar you'll find a number of different examples for creating custom buttons, menu items, etc.