PluginProbe ʕ •ᴥ•ʔ
Shortcoder — Create Shortcodes for Anything / 4.2
Shortcoder — Create Shortcodes for Anything v4.2
trunk 3.0 3.0.1 3.1 3.2 3.3 3.4 3.4.1 4.0 4.0.1 4.0.2 4.0.3 4.1 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2 4.3 4.4 4.5 4.6 5.0 5.0.1 5.0.2 5.0.3 5.0.4 5.1 5.2 5.2.1 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.4 5.5 5.6 5.7 5.8 6.0 6.1 6.2 6.3 6.3.1 6.3.2 6.4 6.5 6.5.1 6.5.2 6.5.3
shortcoder / admin / js / tinymce / editor_plugin.js
shortcoder / admin / js / tinymce Last commit date
editor_plugin.js 7 years ago icon.png 7 years ago index.html 7 years ago
editor_plugin.js
33 lines
1 /*
2 * Shortcoder TinyMCE plugin for inserting Shortcodes
3 */
4
5 (function() {
6
7 tinymce.create( 'tinymce.plugins.SCButton',{
8
9 init : function( ed, url ){
10 ed.addButton( 'shortcoder', {
11 title : 'Insert shortcodes created using Shortcoder',
12 image : url + '/icon.png',
13 onclick : function() {
14 if( typeof sc_show_insert !== 'undefined' ) sc_show_insert();
15 }
16 });
17 },
18
19 getInfo : function() {
20 return {
21 longname : 'Shortcoder',
22 author : 'Aakash Chakravarthy',
23 authorurl : 'https://www.aakashweb.com/',
24 infourl : 'https://www.aakashweb.com/',
25 version : '1.3'
26 };
27 }
28
29 });
30
31 tinymce.PluginManager.add( 'shortcoder', tinymce.plugins.SCButton );
32
33 })();