XML Templates Plugin for CKEditor

Introduction

This is a plugin that allows to use the XML Templates from FCKeditor in CKEditor.

Author:

Alfonso Martínez de Lizarrondo

Sponsored by:

Version history:

  1. 1.0: 13-April-2011. First version.

Installation

1. Copying the files

Extract the contents of the zip in you plugins directory, so it ends up like this

ckeditor\
	...
	images\
	lang\
	plugins\
		...
		xmltemplates\
			plugin.js
			docs\
				install.html
		...
	skins\
	themes\

2. Adding it to CKEditor

Now add the plugin in your config.js or custom js configuration file: config.extraPlugins='xmltemplates';

3. Configure entries

In your config file, add a new entry to specify the location of the XML file with the templates, remember that it must be prefixed by "xml:". templates_files : ['xml:fcktemplates.xml'] .

5. Use it

Now empty the cache of your browser and reload the editor, the new dropdown should show up and you can insert the text entries.

Disclaimers

CKEditor is © CKSource.com