Welcome Guest Search | Active Topics | Sign In | Register

Editor Options
Stephen Kemsley
Posted: Friday, March 25, 2011 10:13:44 AM
Rank: Member
Groups: Member

Joined: 11/23/2009
Posts: 27
Hi when using the Editor, by default it's applying <p>&nbsp;</p> on open to an empty editor. Is there any way to prevent this?

Many thanks
eo_support
Posted: Friday, March 25, 2011 11:17:22 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This is by design so that there will be "somewhere" to place the cursor, so there is no way to prevent this. If you wish to remove it, you can check whether the result is "<p>&nbsp;</p>" and replace it with an empty string in your code.

Thanks!
Stephen Kemsley
Posted: Friday, March 25, 2011 11:29:56 AM
Rank: Member
Groups: Member

Joined: 11/23/2009
Posts: 27
Ok thanks.
Replacing it was my next option but thought I'd check first.



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.