gophish/static/js/ckeditor/plugins/xmltemplates/docs/install.html

66 lines
1.8 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>XML Templates plugin</title>
<link href="styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1>XML Templates Plugin for CKEditor</h1>
<h2>Introduction</h2>
<p>This is a plugin that allows to use the XML Templates from FCKeditor in <a href="http://www.ckeditor.com">CKEditor</a>.</p>
<h3 id="contact">Author:</h3>
<p><a href="mailto:amla70@gmail.com">Alfonso Mart&iacute;nez de Lizarrondo</a></p>
<h3>Sponsored by:</h3>
<h3>Version history: </h3>
<ol>
<li>1.0: 13-April-2011. First version.</li>
</ol>
<h2>Installation</h2>
<h3>1. Copying the files</h3>
<p>Extract the contents of the zip in you plugins directory, so it ends up like
this<br>
<!--<img src="installation.png" alt="Screenshot of installation" width="311" height="346" longdesc="#install">-->
</p>
<pre id="--install">
ckeditor\
...
images\
lang\
plugins\
...
xmltemplates\
plugin.js
docs\
install.html
...
skins\
themes\
</pre>
<h3>2. Adding it to CKEditor</h3>
<p>Now add the plugin in your <em>config.js</em> or custom js configuration
file:
<code>config.extraPlugins='xmltemplates'; </code>
</p>
<h3>3. Configure entries</h3>
<p>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:".
<code>templates_files : ['xml:fcktemplates.xml']
</code>.</p>
<h3>5. Use it</h3>
<p>Now empty the cache of your browser and reload the editor, the new dropdown should show up and you can insert the text entries.</p>
<!--
<h2>Final notes</h2>
-->
<h2>Disclaimers</h2>
<p>CKEditor is &copy; CKSource.com</p>
</body>
</html>