Templates plugin
Insert templates from predefined gallery
TinyMCE Templates is a plugin for very quick and simple inserting templates into your document. The plugins has set of predefined templates.
TinyMCE Templates can be shown as popup or as dialog.
Editor42
TinyMCE
CKEditor 4
TinyMCE 5
TinyMCE 4
Install Templates plugin in Editor42
Self-hosted Editor42
Editor42 from CDN
Install the plugin to Editor42 hosted on your server
- Copy
Templatesdirectory toeditor42/plugins/. - Edit Editor42 config and add
Templatestopluginsparameter.
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: "Templates",
// apiKey: "...",
// Get your own key in the Dashboard: https://n1ed.com/dashboard
});
Templates comes as a part of N1ED. Read the official installation manual on developer website to know more.