QTags.addButton – take two
-
Hi,
I posted in the topic https://www.ads-software.com/support/topic/qtags-addbutton/ but it is closed. So I report in a new thread.
I see the message “QTags is not defined” in chrome dev console when browsing admin area.
To fix it, you may want to try the following function, as advised by WordPress:
if ( wp_script_is('quicktags' ) ) { QTags.addButton( 'MCI_Footnotes_QuickTag_button', 'footnote', MCI_Footnotes_text_editor_callback ); }
(untested, but I fixed my own plugin with this solution)
Thanks!`
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘QTags.addButton – take two’ is closed to new replies.