Opened 13 years ago

Last modified 13 years ago

#6381 confirmed Bug

Cursor lost on Horizontal line when moving up and down in Chrome

Reported by: Istvan Petres Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Webkit Cc:


If a horizontal line is inserted between texts and you try to move the cursor (with up and down arrows) once reached the hr line the focus is still kept but the cursor disappears and the whole browser window will receive future up/down movings.

Reproduce steps:
1: Enter a few lines of text
2: Insert horizontal line
3: Enter some lines of text below the horizontal line too
4: Try to move the cursor up to the first sentence using the up arrow key on your keyboard

I have tested this on IE, Firefox and Chrome and only chrome is having this problem, (chrome version: 6.0.472.53) both on linux and windows.

Maybe it's only a chrome bug but just in case as I'm a happy user of ckEditor and use it in my jCore project as the main editor I thought I will let you know. BTW: Thanks for your great work!

Change History (2)

comment:1 Changed 13 years ago by Krzysztof Studnik

Keywords: Chrome added; chrome hr cursor scroll removed
Status: newconfirmed

Confirmed in Chrome 7

  • In all versions, since 3.0, When horizontal line is the last thing in edit area, nothing can be added below it.
  • In CKE3.0 - 3.3 - when moving cursor with the keyboard, and it reach to the horizontal line, it jumps back to the first line of paragraph
  • In CKE 3.4 - cursor disappears, focus lost from CKEditor edit area.

comment:2 Changed 13 years ago by Garry Yao

Keywords: Webkit added; Chrome removed

We're trying to fix the browser cursor in a way that never having it stop directly between blocks, which breaks the automatic paragraphing, so here the thing to fix is to avoid having arrow keys in webkit trapped by <hr>, the correct behavior should just like FF, it will probably fixable with our "keyboard" plugin later.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy