Templates logo

Templates plugin

Insert templates from predefined gallery
Templates screenshot
Templates screenshot
Templates logo

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.

CKEditor 4 logo CKEditor 4
TinyMCE 6 logo TinyMCE 6
TinyMCE 5 logo TinyMCE 5
TinyMCE 4 logo TinyMCE 4

Install Templates plugin in CKEditor 4

Download Templates
ZIP archive of Templates for CKEditor 4

Then do these simple steps:

  1. Copy Templates directory to ckeditor/plugins/.
  2. Edit CKEditor config and add Templates to extraPlugins parameter.

All the buttons this plugin will add to your toolbar automatically.

Using config file
Using initialization script

Example of configuring with config.js

If you prefer to edit config.js config file of CKEditor or when your CKEditor initialization code is placed inside some non-editable part of CMS, make these changes there:

CKEDITOR.editorConfig = function(config) {
    config.extraPlugins = "Templates";
};

Example of configuring inside initialization code

Some CMSs do not use config.js file and let to edit CKEditor initialization script only. Do this changes there:

CKEDITOR.replace("#editor", {
    extraPlugins: "Templates",
});

Install Templates plugin in TinyMCE 6

Download Templates
ZIP archive of Templates for TinyMCE 6
Self-hosted TinyMCE 6
Cloud TinyMCE 6

Install the plugin to TinyMCE 6 hosted on your server

  1. Copy Templates directory to tinymce/plugins/.
  2. Edit TinyMCE config and add Templates to plugins parameter.

All the buttons this plugin will add to your toolbar automatically.

Example

Here you can see sample TinyMCE initialization code with config inside it:

TinyMCE.init({
    selector: "#editor",
    plugins: "Templates",
});

Refer to TinyMCE add-ons installation manual for more details

Install the plugin to cloud edition of TinyMCE 6

  1. Copy Templates directory somewhere on your server where it can be accessible by a link.
  2. Specify the location of just copied Templates plugin adding key-value pair in external_plugins TinyMCE config parameter.
  3. Edit TinyMCE config and add Templates to plugins parameter.

All the buttons this plugin will add to your toolbar automatically.

Example

Here you can see sample cloud TinyMCE initialization code with config inside it:

TinyMCE.init({
    selector: "#editor",
    plugins: "Templates",
    external_plugins: {
        "Templates": "http://example.com/public/Templates/plugin.min.js",
    },
});

Refer to TinyMCE add-ons installation manual for more details

Install Templates plugin in TinyMCE 5

Download Templates
ZIP archive of Templates for TinyMCE 5
Self-hosted TinyMCE 5
Cloud TinyMCE 5

Install the plugin to TinyMCE 5 hosted on your server

  1. Copy Templates directory to tinymce/plugins/.
  2. Edit TinyMCE config and add Templates to plugins parameter.

All the buttons this plugin will add to your toolbar automatically.

Example

Here you can see sample TinyMCE initialization code with config inside it:

TinyMCE.init({
    selector: "#editor",
    plugins: "Templates",
});

Refer to TinyMCE add-ons installation manual for more details

Install the plugin to cloud edition of TinyMCE 5

  1. Copy Templates directory somewhere on your server where it can be accessible by a link.
  2. Specify the location of just copied Templates plugin adding key-value pair in external_plugins TinyMCE config parameter.
  3. Edit TinyMCE config and add Templates to plugins parameter.

All the buttons this plugin will add to your toolbar automatically.

Example

Here you can see sample cloud TinyMCE initialization code with config inside it:

TinyMCE.init({
    selector: "#editor",
    plugins: "Templates",
    external_plugins: {
        "Templates": "http://example.com/public/Templates/plugin.min.js",
    },
});

Refer to TinyMCE add-ons installation manual for more details

Install Templates plugin in TinyMCE 4

Download Templates
ZIP archive of Templates for TinyMCE 4

Then do these simple steps:

  1. Copy Templates directory to tinymce/plugins/.
  2. Edit TinyMCE config and add Templates to plugins parameter.

All the buttons this plugin will add to your toolbar automatically.

Example

Here you can see sample TinyMCE initialization code with config inside it:

TinyMCE.init({
    selector: "#editor",
    plugins: "Templates",
});

Refer to TinyMCE add-ons installation manual for more details

Reviews

Be the first who will write a feedback for this plugin.

Tell a friend about Templates

Send