Here's the thing: I use wysiwyg with fckeditor. Everything is ok with node & block editing (editor is enabled). I made a new module (to display a new form) and the editor is not enabled. After some research, I found out that the editor is enabled only on textareas with a "Input format" option. I added the input format but there is still no editor.

I attached 2 screenshots, one of my form and the other from the add new block form.

So, what am I doing wrong?

CommentFileSizeAuthor
with-wysiwyg.png21.06 KBmariusilie
no-wysiwyg.png17.92 KBmariusilie

Comments

twod’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Can you post the code for your form?
Usually, the editor won't appear simply because Wysiwyg module can't find the format selector. You must use the key 'format' and send the proper arguments to filter_form(). See http://drupal.org/node/358316.

mariusilie’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Thanx man, that did the trick. I was using another key, not 'format'