Editor don't appear on the node edit page
zmove - July 28, 2008 - 07:27
| Project: | Wysiwyg |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Hi,
I'm testing WYSIWYG with TinyMCE since some days, and I noticed that the editor don't appear on the node edit page whereas I set up tinyMCE to appear on "all nodes except listed", and the textarea below is empty (so it should appear on all nodes).
Does somebody have the same problem than me ? (I'm with tinyMCE 2.x) and it works perfectly for node creation;

#1
This should not happen, but OTOH, 6.x has not been tested yet.
#2
I can confirm this. Oddly, when I change the Input format from 'Full HTML' to 'Filtered HTML', TInyMCE will appear on the edit page. Change it back, and it's gone again.
#3
It's because wysiwyg_editor.module won't render the editor if the node uses the PHP Input format. In Drupal 5.x, the format id number was always 2. In Drupal 6.x, because the PHP Input format is supplied by an optional module, it can have any format id number, and 'Full HTML' has therefore been bumped up to #2 (so we shouldn't test for format #2). The attached patch fixes this by checking to see if any of the filters in the format used by the node are supplied by php.module.
It's possible for CCK text fields to use input formats, so perhaps the module should check for that as well.
#4
It perfectly works :)
Thank you Matthew
#5
Wow! I'd love to see more patches from you, Matthew.
Thanks, committed.
#6
Automatically closed -- issue fixed for two weeks with no activity.