Custom Templates plugin
Define, update and re-use custom templates in your content

Add custom code snippets to your collection and get quick access to it. You can catalog all predefined templates into categories. All new templates will have screenshots that are generated automatically.
Content management is pretty easy with custom templates. Insert one by clicking on it in the library and it will be added.
Editor42
TinyMCE
CKEditor 4
TinyMCE 5
TinyMCE 4
Install Custom Templates plugin in Editor42
Self-hosted Editor42
Editor42 from CDN
Install the plugin to Editor42 hosted on your server
- Copy
CustomTemplatesdirectory toeditor42/plugins/. - Edit Editor42 config and add
CustomTemplatestopluginsparameter.
All the buttons this plugin will add to your toolbar automatically.
Example
Here you can see sample Editor42 initialization code with config inside it:
editor42.init({
selector: "#editor",
plugins: "CustomTemplates",
// apiKey: "...",
// Get your own key in the Dashboard: https://n1ed.com/dashboard
});
Custom Templates comes as a part of N1ED. Read the official installation manual on developer website to know more.
Reviews
Some snippets are usually needed from time to time, and some always. Every time when I inserted one of the code pieces in the source dialog I was missing such plugin.