Merge branch 'main' into automated-linting

This commit is contained in:
Mark Cheret 2021-04-15 23:09:20 +02:00 committed by GitHub
commit ee7cd5356e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 431 additions and 247 deletions

View file

@ -54,24 +54,24 @@
return null;
},
/**
* Returns information about the plugin as a name/value array.
* The current keys are longname, author, authorurl, infourl and version.
*
* @return {Object} Name/value array containing information about the plugin.
*
* Edit: needs updating the version number manually
*/
getInfo: function () {
return {
longname: 'Inserts the Footnotes short code.',
author: 'Mark Cheret',
authorurl: 'https://cheret.org/footnotes/',
infourl: 'https://wordpress.org/plugins/footnotes/',
version: '2.6.5',
};
},
});
/**
* Returns information about the plugin as a name/value array.
* The current keys are longname, author, authorurl, infourl and version.
*
* @return {Object} Name/value array containing information about the plugin.
*
* Edit: needs updating the version number manually
*/
getInfo : function() {
return {
longname : 'Inserts the Footnotes short code.',
author : 'Mark Cheret',
authorurl : 'https://cheret.org/footnotes/',
infourl : 'https://wordpress.org/plugins/footnotes/',
version : '2.7.0'
};
}
});
// Register plugin
tinymce.PluginManager.add('footnotes', tinymce.plugins.Footnotes);