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



Your IP : 18.223.158.29


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

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

		// Add a command to insert the content
		editor.addCommand( 'addTabbedContent', {exec: function (editor) {
			editor.insertHtml(
				' [--readmore--] ');
		}});

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