Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325460

Summary: Produces two line spaces at the press of "Enter" key at the end of each line.
Product: z_Archived Reporter: Anand Yashwanth <anand.yashwanth>
Component: EPFAssignee: Bingxue Xu <bxu>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: bxu
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Anand Yashwanth CLA 2010-09-16 09:01:20 EDT
Build Identifier: 1.5.0.v20090225_0229


In Rich Text editor,at the end of each line a "Enter" key produces two line spaces unlike normal text editor.

Reproducible: Always

Steps to Reproduce:
1. Create rich text editor
2. Type some text.
3. Press "Enter" key to write a new line.
4. Creates two line spaces before writing the next line.
Comment 1 Bingxue Xu CLA 2010-09-20 13:47:58 EDT
In the EPF RTE, Enter keys will be interpreted as a HTML <P> tag. Also in HTML, Eneter kays and spaces are all ignored by HTML.

If you don't want the <P> tag, just keep typing in the RTE, it will automatically wrap around without doubel spaces.

It has been the design since EPF Composer 1.0

Thanks very much.
Comment 2 Anand Yashwanth CLA 2011-02-21 08:46:46 EST
Hi,

This is bit annoying since i am trying to form a nice rich text editor with this control. But because of the spacing between the lines are two much, it does occupy lot of unncessary blank spaces. Can you please tell me, is there any other alternate where its possible to control the <p> tag.