Hi,

I have wysiwyg editor in my drupal commons site. my problem is editor disappears While saving the content. But it is showing before save button is clicked. I think it is js issue. Please help me to solve this.

Thanks in advance.

Comments

twod’s picture

Status: Active » Closed (duplicate)

This is currently how Wysiwyg works. It runs the same code when switching between editors and when a form is submitted.
This is done for a couple of reasons, one is to reduce memory leaks due to some circular references between DOM nodes and JavaScript objects not being garbage collected unless destroyed before the page is unloaded. Another is that this has been a low priority while trying to get some editors to even show up and save data correctly.

There is an ongoing effort to fix this in #1033718: Editors disappear while form is submitting and we have a working patch for Drupal 7 in there, which I'll soon commit. Drupal 6 is lacking some of the nice Core features that patch relies on so it will not work as-is there. Iit will need to be changed to work a bit different when backported to D6, if it can be completely backported at all without breaking functionality.

I'll mark this a duplicate of #1033718: Editors disappear while form is submitting. Please follow that issue for updates.