first commit
@ -0,0 +1,22 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.accordion', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('accordion', {
|
||||
title : 'Add Accordion',
|
||||
image : url + '/images/accordion.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[accordion]<br/> \
|
||||
[acc_item title="ITEM_TITLE"]ADD_CONTENT_HERE[/acc_item]<br/> \
|
||||
[acc_item title="ITEM_TITLE"]ADD_CONTENT_HERE[/acc_item]<br/> \
|
||||
[acc_item title="ITEM_TITLE"]ADD_CONTENT_HERE[/acc_item]<br/> \
|
||||
[/accordion]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('accordion', tinymce.plugins.accordion);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.button', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('button', {
|
||||
title : 'Add Button',
|
||||
image : url + '/images/button.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[button color="#COLOR_CODE" background="#COLOR_CODE" size="medium" src="PLACE_LINK_HERE"]ADD_BUTTON_CONTENT[/button]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('button', tinymce.plugins.button);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.column', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('column', {
|
||||
title : 'Add Column',
|
||||
image : url + '/images/column.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[column col="1/4"]ADD_CONTENT_HERE[/column]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('column', tinymce.plugins.column);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.divider', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('divider', {
|
||||
title : 'Add Divider',
|
||||
image : url + '/images/divider.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[divider scroll_text="SCROLL_TEXT"]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('divider', tinymce.plugins.divider);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.dropcap', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('dropcap', {
|
||||
title : 'Add Dropcap',
|
||||
image : url + '/images/dropcap.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[dropcap type="circle" color="#COLOR_CODE" background="#COLOR_CODE"]ADD_CONTENT_HERE[/dropcap]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('dropcap', tinymce.plugins.dropcap);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.gdl_gallery', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('gdl_gallery', {
|
||||
title : 'Add Gallery',
|
||||
image : url + '/images/gdl-gallery.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[gdl_gallery title="GALLERY_TITLE" width="GALLERY_WIDTH" height="IMAGE_HEIGHT" galid="1" ]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('gdl_gallery', tinymce.plugins.gdl_gallery);
|
||||
})();
|
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,23 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.list', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('list', {
|
||||
title : 'Add List',
|
||||
image : url + '/images/list.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[list type="check"]<br/>\
|
||||
<ul>\
|
||||
<li>ADD_LIST_CONTENT</li>\
|
||||
<li>ADD_LIST_CONTENT</li>\
|
||||
</ul>\
|
||||
[/list]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('list', tinymce.plugins.list);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.message_box', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('message_box', {
|
||||
title : 'Add Message Box',
|
||||
image : url + '/images/message-box.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[message_box title="MESSAGE TITLE" color="red"]ADD_CONTENT_HERE[/message_box]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('message_box', tinymce.plugins.message_box);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.price_item', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('price_item', {
|
||||
title : 'Add Price Item',
|
||||
image : url + '/images/price-item.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[price-item item_number="6" category="PRICE_TABLE_CATEGORY"]');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('price_item', tinymce.plugins.price_item);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.quote', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('quote', {
|
||||
title : 'Add Quote',
|
||||
image : url + '/images/quote.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[quote align="center" color="#999999"]ADD_CONTENT_HERE[/quote]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('quote', tinymce.plugins.quote);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.social', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('social', {
|
||||
title : 'Add Social Icon',
|
||||
image : url + '/images/social.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[social type="facebook" opacity="dark"]PLACE_LINK_HERE[/social]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('social', tinymce.plugins.social);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.space', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('space', {
|
||||
title : 'Add Space',
|
||||
image : url + '/images/space.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[space height="HEIGHT"]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('space', tinymce.plugins.space);
|
||||
})();
|
@ -0,0 +1,22 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.tab', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('tab', {
|
||||
title : 'Add Tab',
|
||||
image : url + '/images/tab.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[tab]<br/>\
|
||||
[tab_item title="ITEM_TITLE"]ADD_CONTENT_HERE[/tab_item]<br/>\
|
||||
[tab_item title="ITEM_TITLE"]ADD_CONTENT_HERE[/tab_item]<br/>\
|
||||
[tab_item title="ITEM_TITLE"]ADD_CONTENT_HERE[/tab_item]<br/>\
|
||||
[/tab]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('tab', tinymce.plugins.tab);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.testimonial', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('testimonial', {
|
||||
title : 'Add Testimonial',
|
||||
image : url + '/images/testimonial.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[testimonial category="TESTIMONIAL_CATEGORY" size="1/1" type="static"]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('testimonial', tinymce.plugins.testimonial);
|
||||
})();
|
@ -0,0 +1,21 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.toggle_box', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('toggle_box', {
|
||||
title : 'Add Toggle Box',
|
||||
image : url + '/images/toggle-box.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[toggle_box]<br/>\
|
||||
[toggle_item title="ITEM_TITLE" active="true"]ADD_CONTENT_HERE[/toggle_item]<br/>\
|
||||
[toggle_item title="ITEM_TITLE" active="true"]ADD_CONTENT_HERE[/toggle_item]<br/>\
|
||||
[/toggle_box]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('toggle_box', tinymce.plugins.toggle_box);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.vimeo', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('vimeo', {
|
||||
title : 'Add Vimeo',
|
||||
image : url + '/images/vimeo.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[vimeo height="HEIGHT" width="WIDTH"]PLACE_LINK_HERE[/vimeo]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('vimeo', tinymce.plugins.vimeo);
|
||||
})();
|
@ -0,0 +1,18 @@
|
||||
(function() {
|
||||
tinymce.create('tinymce.plugins.youtube', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('youtube', {
|
||||
title : 'Add Youtube',
|
||||
image : url + '/images/youtube.png',
|
||||
onclick : function() {
|
||||
ed.focus();
|
||||
ed.selection.setContent('[youtube height="HEIGHT" width="WIDTH"]PLACE_LINK_HERE[/youtube]<br/>');
|
||||
}
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('youtube', tinymce.plugins.youtube);
|
||||
})();
|