Posted by mattyoung on August 2, 2012 at 2:24am
I'm trying to add buttons to both tinyMCE and Ckeditor.
From http://drupalcontrib.org/api/drupal/contributions!wysiwyg!wysiwyg.api.php/function/hook_INCLUDE_plugin/7
Supposed to be used for "Drupal plugins" (cross-editor plugins) only
Don't know what this means and not sure if this is the right hook to use.
Is there any documentation on how to do what I want?
Comments
I
I used
http://drupal.org/project/wysiwyg_tools_plus
as a start for my own wysiwyg/ckeditor plugins.
Also looking for some documentation though.
Thanks!I was confused by
Thanks!
I was confused by hook_INCLUDE_plugin(). I found out that this is for "drupal" plugin, something entirely different. By implementing this, one plugin will work in multiple WYSIWYG editors.
For native wysiwyg editor plugin, HOOK_wysiwyg_plugin() is still there and that's what I should use.
http://certifiedtorock.com/u/11944