tinymce-advanced with template support

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.

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.

Download tinymce-advanced here.

Downloaded 62 times.

Tags: , ,

Vragen?

This entry was posted on Wednesday, April 16th, 2008 at 3:49 pm and is filed under Motionmill plugins. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply




Message:

Copyright © 2008 motionmill. Verkoopsvoorwaarden. All rights reserved. Log in

motionmill.com|grote steenweg 91|B-2600 antwerpen