Behaviour noted: On a form with more than one instance of TinyMCE, if rich-text is toggled off on the first editor instance, any editing performed in the second editor instance is lost when the form is saved.

This has been seen to happen specifically on the edit form for the FAQ module (drupal.org/project/faq).

This installation is running Drupal 5.7, TinyMCE 1.9, TinyMCE Engine 3.0.6.2

Note: I have applied the patch by richardjg (drupal.org/node/234380) to allow the v3 engine to work with the 5.x module.

TinyMCE insists on placing a paragraph tag around the textbox value if one is not already present.
This causes problems with the question field in the FAQ module and it is quite natural to turn off rich-text for that field in order to remove the unwanted tags.

However on this installation this then seems to prevent any editing done in the second TinyMCE instance (the FAQ answer textarea) from being submitted with the rest of the form data. The original default text is returned instead, with none of the changes. This caused considerable frustration until the interaction was discovered.

I have worked around both issues by applying the patch by Doug Gough (drupal.org/node/179462) to automatically turn off TinyMCE for the FAQ question textbox field.

I haven't had time to examine other forms for similar behaviour - neither have I checked the FAQ edit form to see if the interaction occurs the other way around. It is possible that this interaction between multiple TinyMCE instances on the same form may occur in other installations and on other forms. If so, it certainly bears looking into.

IOW, consider this to be a "Caution, there MAY be a problem" notice rather than a definite "There IS a bug" notice.

Comments

nicoloye’s picture

Issue summary: View changes
Status: Active » Closed (outdated)