Welcome Guest Search | Active Topics | Sign In | Register

Carriage Return versus LineFeed Options
Rik
Posted: Friday, April 17, 2009 5:12:01 PM
Rank: Newbie
Groups: Member

Joined: 4/17/2009
Posts: 1
I installed the EO suite in Visual Studio 2005. Went smoothless. I use the Editor to create a simple CMS. Until now it works fantastic. Still remaining a small problem. An enter and the cursor jumps two lines creating a new paragraph while I would like it to be a one line jump.
Wherever I looked I couldn't find a property to change this. Is this possible ? I know it can be done with shift + Enter but how many of my users will know this?
Thanks.
Rik
eo_support
Posted: Friday, April 17, 2009 5:42:34 PM
Rank: Administration
Groups: Administration

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

We are working on adding such an option. In the mean time, the easiest approach for you is to set the Editor's TextAreaCssFile property:

http://doc.essentialobjects.com/library/1/eo.web.editor.textareacssfile.aspx

You would set it to a .css file, then include something like this in that css file:

Code: CSS
p 
{
   padding-top: 0px;
   padding-bottom: 0px;
   margin-top: 0px;
   margin-bottom: 0px;   
}


This way it removes the extra space before and after the P element inside the editor. The reason that you are seeing "two lines" is actually caused by the default spacing on the P element.

We are working to add an option so that you will be able to have the option to choose between P, DIV or BR. We will expedite this issue and see if we can have it ready it as soon as possible.

Thanks!


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.