Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm sure this is really simple, but I can't find a quick answer anywhere by searching. I just want to include the TinyMCE plugin "template" distributed by Moxiecode into my Wordpress editor. Simply uploading it into the plugins folder isn't sufficient, I get that I need to mess with hooks and filters, but so far I'm unclear what the simplest way to do this is.

share|improve this question
add comment

1 Answer

There is an existing WordPress plugin that does this http://wordpress.org/extend/plugins/tinymce-templates/

share|improve this answer
    
it loads up a bunch of features I don't want, and I actually want to hack the plugin a bit, which I feel would be easier working from the base TinyMCE plugin rather than trying to work with this WP plugin. –  HeruRaHa May 31 '12 at 21:52
    
Since the 'base TinyMCE plugin' is not a plugin, but a part of WordPress Core, I strongly suggest you leave it alone and use hooks to modify it externally instead. Simply put, if it's not in /wp-content, DO NOT TOUCH IT. If the suggested plugin has too many features, go into that plugin's code and see what parts do what you want. Duplicate them, and go from there. –  SickHippie May 31 '12 at 22:36
    
SickHippie you're not understanding me, and it's part of why I can't find decent results -- because both Wordpress and TinyMCE use the term "plugin" to describe code snippets that extend the core functionality. There's a plugin FOR TinyMCE called "Template" that I was trying to install. I'm not talking about modifying the core. I'm talking about modifying the "Template" plugin for TinyMCE because it does nearly everything I want, and it's easier to tweak that than to write a new TinyMCE plugin from scratch. Anyways I figured out how to do what I wanted, so forget it. –  HeruRaHa May 31 '12 at 23:46
    
He's saying to use the plugin I linked to above, and modify it to your desire. He's saying NOT to add a plugin to TinyMCE itself - make sure whatever you modify is in wp-content. That said, what did you do to create your desired result? –  user1337 Jun 1 '12 at 15:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.