SaaS CMS has officially launched! Learn more now.

How to programmatically add buttons to TinyMCE




I want to add the table tools (insert table delte table etc) to a Xhtml field (TinyMCE) programmatically in order to ensure that the same tools are available across all environments. The only documentation I have been able to find is:

which only describes how to avoid that <iframe> is deleted when saving.


Does anyone have experience adding tools (built-in tools like the table-designer) in EPiServer 7.5?


Best regards


Feb 10, 2014 11:19

Check for `TinyMCEPluginButton'.

Also I've been working on ImageMap plugin refresh - so you can grab some code as well.

Edited, Feb 10, 2014 12:12

i'm also intresting in creating a plugin for inserting snippets or templates in editor.

The usual templates plugin for tinymce does not seem to me included in EPi Framework.


The problem for me is that it's unclear how the javascript for the plugin should look like. 
I took a look at Valdis plugin and think I'll steal som ideas from there  :)

Feb 14, 2014 16:42

Jonas - feel free, it's open sourced under coderesort anyway :)

Feb 14, 2014 16:49

Hi Jonas,

Did you end up getting the templates plugin installed/working? I've been able to add the plugin and button to the editor following the guide in the link above, however I can't work out how to define the .htm templates or snippets for it to pick from.



Dec 03, 2015 4:28
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.