#1 open
Lim Chee Aun

inconsistent ENTER key behavior

Reported by Lim Chee Aun | February 8th, 2009 @ 09:05 PM | in 0.5

Originally posted on Google Code Issue tracker by TJLeahy.Jr...

Original ticket


In IE, pressing ENTER creates a paragraph - but in Firefox and Opera, it creates a break, which, apart from the obvious layout problems, does not carry the same semantic meaning.

It looks like you tried to correct this, but it didn't really work out. In Firefox, sometimes you get a break immidiately - then, when you press ENTER after typing another line of text, these are suddenly transformed into paragraphs. And sometimes even two of them, e.g.

<p>content</p><p></p><p>more content</p>

I know this one's complicated to solve, but it has been done before - FCKEditor, I believe, is one of the only editors that managed to do it properly across most major browsers.

I believe that consistent ENTER key behavior across the major browsers should be a high priority, as you can not produce consistent CSS layout for content with an unpredictable structure.

I have looked into the matter myself many times in relation to other editors, but have been unable to understand the techniques used in FCKEditor... Maybe somebody else gets it??

Cached copy of the ticket page

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A simple web-based WYSIWYG editor, written in Mootools.

People watching this ticket