Looking for explanation on how to add editor buttons for D7

Events happening in the community are now at Drupal community events on www.drupal.org.
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

Posted by Rechi on August 22, 2012 at 7:21am

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

Posted by mattyoung on August 23, 2012 at 8:18pm

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.

Wysiwyg

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /