angular-ui / ui-tinymce

AngularUI wrapper for TinyMCE
MIT License
488 stars 371 forks source link

Can't add a new plugin #200

Closed rootux closed 8 years ago

rootux commented 8 years ago

I'm trying to add the following plugin: http://blog.ionelmc.ro/2013/10/17/tinymce-formatting-toolbar-buttons/ what's the best way to do so?

rootux commented 8 years ago

Apparently it works out of the box.

Actually there are couple of ways as described in the docs: Add a new plugin to the tinymce plugins folder - notice that it should be plugin.min.js or plugin.js depend on the version of tinymce that you are using - this will get loaded automatically. The other way is to just init it like so: tinyMCE.PluginManager.add('stylebuttons', function(editor, url) {