I'm editing a Wordpress Plugin, trying to add another button. I had a look to this question (Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1). But it doesn't work
The JS file: .js
The second button is not visible
The JS file (collapsed)
The impossible to debug JS error reported by Chrome..
What can I try?
I'm editing a Wordpress Plugin, trying to add another button. I had a look to this question (Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1). But it doesn't work
The JS file: https://www.nonsolodiete.it/wp-content/plugins/perfect-pullquotes/perfect-pullquotes.js
The second button is not visible
The JS file (collapsed)
The impossible to debug JS error reported by Chrome..
What can I try?
The problem was related to the PHP file.
The Javascript file can contain two buttons but must be referenced twice as shown in the picture.