We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Yet another TinyMCE Problem

Development and Programming

Cody S's avatar
Cody S
5 posts
16 years ago
Cody S's avatar Cody S

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?

       
Max Lazar's avatar
Max Lazar
337 posts
16 years ago
Max Lazar's avatar Max Lazar
  1. How many characters in the text?
  2. What browser do u used?
  3. Version of TinyMCE? (last - 3.2.3)?
       
Cody S's avatar
Cody S
5 posts
16 years ago
Cody S's avatar Cody S

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.

       
Max Lazar's avatar
Max Lazar
337 posts
16 years ago
Max Lazar's avatar Max Lazar

Do u use LG TinyMCE or LG TinyMCE2?

       
Cody S's avatar
Cody S
5 posts
16 years ago
Cody S's avatar Cody S

LG TinyMCE2 works flawlessly. Thanks Max! I’m not really sure what the problem was. I’m using the same TinyMCE install and config. The FieldFrame extension is amazing though not sure how I missed that release!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.