Add field property:

'#wysiwyg' => FALSE,

To not be handled by WYSIWYG editors.

Comments

hanoii’s picture

I was gonna add this right away, but after looking at it, I don't remember why this was required. I have done this previously on some other module, but, what module requires it now? It's certainly not drupal core. And I tried it with the latest wysiwyg module, and even without that the editor is not used in the module's text area as they are really attached to input formats.

kenorb’s picture

It will disable converting textarea to HTML code by example FCKEditor.
Then when you typing PHP code, it adding HTML tags

and in this case PHP code will be broken.

hanoii’s picture

Status: Active » Fixed

OK, committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.