I’m finally so exhausted from trying to solve this on my own I figured I’d pop in here and see if anyone has a solution.
So I’m using TinyMCE and the LG TinyMCE extension for a few textarea fields for a client who needs it. Everything is working fine except for when he saves an entry either EE or TinyMCE is adding an empty set of paragraph tags between each block of text paragraphs.
This wouldn’t be a problem except for that if he does multiple saves or edits the entry again it wraps each of the aforementioned empty paragraph sets with more empty paragraph sets. It eventually looks like this after a few saves:
1st Save:
A block of text
A block of text
2nd Save:
A block of text
A block of text
I initially thought it had to do with EE setting the textarea to XHTML formatting but checking my database the LG plugin does in fact appear to be setting the formatting to none. I’m leaning more towards this being an EE problem since it only occurs when doing a save in EE although I’m not too familiar with the cleaner code going on in TinyMCE so that’s a possibility.
Anyone else have this problem?
Characters vary but usually anywhere between 300 and 500 words. Same results in FF, Safari 3 and IE 8. I’m using the Tiny MCE version from March (2.2.3) and LG TinyMCE (1.3.3). I’ll download the latest version of TinyMCE (just realized they released a new one in April) since the release notes say they made some updates for webkit and IE8.
I’m not sure the problem is in the TinyMCE core files though. My wordpress install uses a much older version and it works flawlessly. I think it has something to do with either EE or LG TinyMCE wanting to add empty padding paragraphs on each save which is making me lean towards the cleaner stuff.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.