traceability update 2.5.4d4
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2472020 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
4d884e22a0
commit
0612b76412
16 changed files with 456 additions and 274 deletions
|
@ -1,6 +1,18 @@
|
|||
<!--<?php//for docblock, @see MCI_Footnotes_Template::process_template()
|
||||
/**
|
||||
* Footnote button for the Classic Editor text mode.
|
||||
*
|
||||
* @since 1.3.0
|
||||
* @lastmodified 2021-02-09T0039+0100
|
||||
*
|
||||
* @since 2.5.4 Bugfix: Editor button: Classic Editor text mode: try to fix uncaught reference error of “QTags is not defined”, thanks to @dpartridge bug report.
|
||||
* @since 2.5.4 Bugfix: Editor button: Classic Editor text mode: correct label to singular.
|
||||
*/?>
|
||||
-->
|
||||
<script type="text/javascript">
|
||||
/**
|
||||
* adds a tag in at the beginning and at the end of a selected text in the specific text area
|
||||
* Brackets the selected text with tags in the text area.
|
||||
*
|
||||
* @param string elementID
|
||||
* @param string openTag
|
||||
* @param string closeTag
|
||||
|
@ -17,14 +29,11 @@
|
|||
/**
|
||||
* Adds a button to the Classic Editor text mode.
|
||||
*
|
||||
*
|
||||
* @since 2.5.4 Bugfix: Editor button: Classic Editor text mode: try to fix uncaught reference error of “QTags is not defined”, thanks to @dpartridge bug report.
|
||||
* - Bugfix: Editor button: Classic Editor text mode: try to fix uncaught reference error of “QTags is not defined”, thanks to @dpartridge bug report.
|
||||
*
|
||||
* @reporter @dpartridge
|
||||
* @link https://wordpress.org/support/topic/qtags-addbutton/
|
||||
*
|
||||
*
|
||||
* @since 2.5.4 Bugfix: Editor button: Classic Editor text mode: correct label to singular.
|
||||
*/
|
||||
if ( QTags ) {
|
||||
QTags.addButton( 'MCI_Footnotes_QuickTag_button', 'footnote', MCI_Footnotes_text_editor_callback );
|
||||
|
|
Reference in a new issue