I\'d like to add a button to the toolbar that calls a JavaScript function like Tada()
?
Any ideas on how to add this?
There are handy tutorials in the official CKEditor 4 documentation, that cover writing a plugin that inserts content into the editor, registers a button and shows a dialog window:
If you read these two, move on to Integrating Plugins with Advanced Content Filter.
So far there is one introduction article available:
CKEditor 5 Framework: Quick Start - Creating a simple plugin