Search code examples
drupaldrupal-6wysiwygdrupal-modules

Drupal 6: Implement Wysiwyg on Custom Module Form


I have a custom form that I have written with the Form API. We have the WYSIWYG module and TinyMCE implemented on the site that this module will be used on. How do I implement the WYSIWYG api on my custom form text areas?

Thanks!


Solution

  • This should help integrate WYSIWYG with your custom module forms: http://drupal.org/node/358316

    Basically, you need to add the format key to each of your form fields and use filter_form()