This is an updated version of the plugin written by Andrew Ozz http://www.laptoptips.ca/.

I added the plugin “template” so from now on you can use predefined templates in the tinymce editor.

Use

  • Install tinymce-advanced plugin
  • Modify the file
    wp-content/plugins/tinymce-advanced/mce/template/js/template.js line 3
var template_url = "http://yourdomain.com/uploads/tinymce/templates/";  // this is the location of your template files.
var tinyMCETemplateList = [
// Name, URL, Description
["Simple snippet", template_url + "snippet1.html", "Simple HTML snippet."],
["Layout", template_url + "layout1.html", "HTML Layout."]
];

See http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template for more information about this plugin.

.zip, 293kb