admin管理员组文章数量:1130349
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?
Share Improve this question asked Nov 7, 2018 at 22:41 ReviousRevious 3233 silver badges16 bronze badges1 Answer
Reset to default 0The problem was related to the PHP file.
The Javascript file can contain two buttons but must be referenced twice as shown in the picture.
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?
Share Improve this question asked Nov 7, 2018 at 22:41 ReviousRevious 3233 silver badges16 bronze badges1 Answer
Reset to default 0The problem was related to the PHP file.
The Javascript file can contain two buttons but must be referenced twice as shown in the picture.
本文标签: Add custom TinyMCE 4 Button Is it mandatory to have one JS per button
版权声明:本文标题:Add custom TinyMCE 4 Button: Is it mandatory to have one JS per button? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749198687a2331426.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论