TinyMCE does not insert P tag until you hit return apparently Options
pkoutoul
Posted: Wednesday, May 14, 2008 4:17:32 PM

Rank: Aficionado

Joined: 8/9/2007
Posts: 173
Location: Kentucky, USA
If I add body text to a document using TinyMCE, as long as there are multiple paragraphs it wraps each with <p> tags as expected. But if the content is a single paragraph (i.e., the user never hits "Enter") then the resulting single para is left naked.

Anyone know of a way I can either force the editor to wrap the single para, or a simple way to instruct my users to make this happen. The best workaround I have come up with is to hit enter once, then backspace over it. If you do this, you get the <p> wrappers as expected.



Pete Koutoulas • Fayette County Public Schools • Lexington, Kentucky
drobar
Posted: Wednesday, May 14, 2008 4:26:27 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,256
Location: KY, USA
That's exactly how I do it. Maybe I've gotten used to that behavior... I don't even think about it any more.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
pkoutoul
Posted: Wednesday, May 14, 2008 5:31:26 PM

Rank: Aficionado

Joined: 8/9/2007
Posts: 173
Location: Kentucky, USA
Thanks, Doug. I guess I'll just need to train my users to do so. Fortunately, in most cases where I would use the RTE, there would likely be more than one paragraph.

Pete Koutoulas • Fayette County Public Schools • Lexington, Kentucky
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.