Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325460 - Produces two line spaces at the press of "Enter" key at the end of each line.
Summary: Produces two line spaces at the press of "Enter" key at the end of each line.
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EPF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Bingxue Xu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 09:01 EDT by Anand Yashwanth CLA
Modified: 2023-02-16 16:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.