AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.133.124.80


Current Path : /var/www/lhjmq-records.qc.ca/public_html/xsl/ckeditor/plugins/tabz/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/xsl/ckeditor/plugins/tabz/plugin.js

CKEDITOR.plugins.add( 'tabz',
{
	init: function( editor )
	{
		var pluginName = 'Tabz';

		// Add a command to insert the content
		editor.addCommand( 'addTabbedContent', {exec: function (editor) {
			editor.insertHtml(
				'<div id="debut"></div>' +
				'<table width="100%" border="4" class="tabbedContent">' +
				'	<tr><td>[TAB NAME]</td><td>[TAB CONTENT]</td></tr>' +
				'	<tr><td>[TAB NAME]</td><td>[TAB CONTENT]</td></tr>' +
				'</table>' +
				'<div id="fin"></div>');
		}});

		// Icon
		editor.ui.addButton( 'Tabz',
		{
			label: 'Insert tabs',
			command: 'addTabbedContent',
			icon: this.path + 'images/icon.png'
		});
	}
});