I am running drupal 4.7 and am having a recurring problem with the TinyMCE editor. I create a page, submit it, and it looks fine when published. However, when I return to edit the page, I find that empty lines (designated by TinyMCE with <p></p>) are stripped out. I have to re-edit the entire page and add any extra spaces that have been stripped.

This problem seems to occur only in Internet Explorer, but sporadically. I would say 90% of the time I lose all blank lines, while 10% of the time it selectively deletes blank lines. Firefox does not seem to have this problem.

I have done a lot of searching on this topic and have not been able to find a solution that works for me. One thing I am trying is adding the HTMLTidy module, but I have not been able to get it successfully installed yet. Any help would be much appreciated.

Thanks

Comments

progresv’s picture

I'm having the same issue. Have you been able to find a solution?

jellomold2’s picture

I have not. I am now using FCKEditor instead. Some people worked hard to get FCKEditor up and running on Drupal 4.7. You can find their modifications on the FCKEditor Module here: http://drupal.org/node/41288

inthahousejamin’s picture

Try turning off 'verify html'.

In tiny MCE profile settings. Under admin >settings >tiny MCE (edit profile) > Cleanup and output > 'verify HTML' - uncheck this option

andremolnar’s picture

Looks like this could be fixed by the patch waiting at http://drupal.org/node/80851

But if you want a quick hack to fix the problem - add the following to line 114 of tinyMCE.module

$settings[] = "apply_source_formatting : true";

This will maintain your pretty html formatting when editing in the default source view.

andre

kreynen’s picture

Assigned: Unassigned » kreynen
Priority: Normal » Critical
Status: Active » Closed (duplicate)