Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

inconsistent ENTER key behavior

#1

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

Original ticket

Description:

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

Reported by Lim Chee Aun · February 8th, 2009 @ 09:05 PM

State: open
Milestone: 0.5
Assigned to: Lim Chee Aun Lim Chee Aun

Activity

  1. Lim Chee Aun
    Lim Chee Aun
    • State changed from new to open

    February 8th, 2009 @ 09:05 PM

  2. Lim Chee Aun
    Lim Chee Aun
    • Milestone changed from 0.4 to 0.5

    March 29th, 2009 @ 02:31 PM

  3. Ryan Mitchell
    Ryan Mitchell

    This bug should be fixed with the ensureRootElement function?
    http://github.com/cheeaun/mooeditable/commit/8f326b61c6302adbc0b764...

    It might be worth calling that function on enter press within the editor?

    November 15th, 2009 @ 07:52 PM

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.