first commit

This commit is contained in:
alazhar
2020-01-02 23:15:16 +07:00
commit eda9661806
3433 changed files with 595883 additions and 0 deletions

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();

View File

@ -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);
})();