How to Execute JavaScript Functions from Non-Editable Elements in TinyMCE?
I have non-editable buttons inside the TinyMCE text editor. I want to insert a JavaScript function so that when these buttons are clicked, the text “Hello world” is logged to the console. Here is the relevant HTML and JavaScript setup