<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=CKEditor_3.x%2FHowto%2FCustom_Templates</id>
		<title>CKEditor 3.x/Howto/Custom Templates - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=CKEditor_3.x%2FHowto%2FCustom_Templates"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Howto/Custom_Templates&amp;action=history"/>
		<updated>2026-05-19T15:31:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Howto/Custom_Templates&amp;diff=5959&amp;oldid=prev</id>
		<title>Anna: Article contents added</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=CKEditor_3.x/Howto/Custom_Templates&amp;diff=5959&amp;oldid=prev"/>
				<updated>2011-03-23T13:44:47Z</updated>
		
		<summary type="html">&lt;p&gt;Article contents added&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#CUSTOMTITLE:How Do I Add Custom CKEditor Templates?}}&lt;br /&gt;
To add new templates, create a custom JavaScript file containing your template definitions. You can base your file on the built-in &amp;lt;code&amp;gt;default.js&amp;lt;/code&amp;gt; file that can be found in the &amp;lt;code&amp;gt;plugins/templates/templates&amp;lt;/code&amp;gt; directory of CKEditor.&lt;br /&gt;
&lt;br /&gt;
When your definitions are ready, use the &amp;lt;code&amp;gt;[http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.templates_files templates_files]&amp;lt;/code&amp;gt; configuration setting to point to the custom template definition file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source language=&amp;quot;js&amp;quot;&amp;gt;&lt;br /&gt;
config.templates_files = [ '/mytemplates.js' ];&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
More details on defining custom templates can be found in the [[CKEditor_3.x/Developers_Guide/Templates|Templates]] article of the [[CKEditor_3.x/Developers_Guide|CKEditor 3.x Developer's Guide]].&lt;/div&gt;</summary>
		<author><name>Anna</name></author>	</entry>

	</feed>