traceability update 2.5.4d2

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2469883 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2021-02-06 01:57:25 +00:00
parent 6706ba811e
commit cee486702c
9 changed files with 849 additions and 551 deletions

View file

@ -15,15 +15,19 @@
textArea.val(textArea.val().substring(0, start) + replacement + textArea.val().substring(end, len));
}
/**
* adds a new button to the plain text editor
* adds a button to the Classic Editor text mode
*
* @edit 2.5.4d1 try to fix uncaught reference error of “QTags is not defined”
*
* @since 2.5.4d1 try to fix uncaught reference error of “QTags is not defined”
*
* @reporter @dpartridge
* @bugreport https://wordpress.org/support/topic/qtags-addbutton/
* @link https://wordpress.org/support/topic/qtags-addbutton/
*
*
* @link 2.5.4 correct label to singular
*/
if ( QTags ) {
QTags.addButton( 'MCI_Footnotes_QuickTag_button', 'footnotes', MCI_Footnotes_text_editor_callback );
QTags.addButton( 'MCI_Footnotes_QuickTag_button', 'footnote', MCI_Footnotes_text_editor_callback );
}
/**