Closed (fixed)
Project:
Wysiwyg
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2009 at 12:42 UTC
Updated:
26 Oct 2009 at 16:08 UTC
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?
| Comment | File | Size | Author |
|---|---|---|---|
| with-wysiwyg.png | 21.06 KB | mariusilie | |
| no-wysiwyg.png | 17.92 KB | mariusilie |
Comments
Comment #1
twodCan 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.
Comment #2
mariusilie commentedThanx man, that did the trick. I was using another key, not 'format'