PluginProbe ʕ •ᴥ•ʔ
Shortcoder — Create Shortcodes for Anything / 3.4
Shortcoder — Create Shortcodes for Anything v3.4
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 / js / tinymce / editor_plugin.js
shortcoder / js / tinymce Last commit date
Thumbs.db 12 years ago editor_plugin.js 12 years ago icon.png 12 years ago index.html 12 years ago
editor_plugin.js
37 lines
1 /*
2 * Shortcoder TinyMCE plugin for inserting Shortcodes
3 * http://www.aakashweb.com
4 * v1.2
5 * Added since WP Socializer v2.0
6 */
7
8 // For adding button in the visual editing toolbox
9 (function() {
10
11 tinymce.create('tinymce.plugins.SCButton', {
12
13 init : function(ed, url) {
14 ed.addButton('scbutton', {
15 title : 'Insert shortcodes created using Shortcoder',
16 image : url + '/icon.png',
17 onclick : function() {
18 if( typeof sc_show_insert !== 'undefined' ) sc_show_insert();
19 }
20 });
21 },
22
23 getInfo : function() {
24 return {
25 longname : 'Shortcoder',
26 author : 'Aakash Chakravarthy',
27 authorurl : 'http://www.aakashweb.com/',
28 infourl : 'http://www.aakashweb.com/',
29 version : '1.2'
30 };
31 }
32
33 });
34
35 tinymce.PluginManager.add('scbutton', tinymce.plugins.SCButton);
36
37 })();