Opened 7 years ago

Last modified 6 years ago

#10209 confirmed Bug

[FF] Odd cursor position after deleting single bullet point

Reported by: ckeditor_user Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: IBM Firefox Cc: Teresa Monahan, Satya Minnekanti

Description

In Firefox 19, the cursor moves to the far right after deleting unordered list that contains a single list item.

Steps to reproduce:
1) Open Firefox
2) Load CKEditor with the following HTML source:

<p>A line of text</p>
<ul>
  <li>First bullet point</li>
</ul>

3) While CKEditor is in WYSIWYG mode, select "First bullet point" as in the first screenshot.
4) Press delete or backspace on the keyboard.
5) The cursor ends up on the same line as the remaining paragraph, but oddly at the far right of the editing area (second screenshot, circled in red).

This was discovered on Windows 7 64-bit using CKEditor 4.0.2. I was not able to reproduce the behavior in IE9 or Chrome25.

Attachments (2)

screenshot1 - FF cursor before.png (789.4 KB) - added by ckeditor_user 7 years ago.
Step 3 - list item text selected
screenshot2 - FF cursor after.png (908.5 KB) - added by ckeditor_user 7 years ago.
Step 5 - cursor ends up at far right

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by ckeditor_user

Step 3 - list item text selected

Changed 7 years ago by ckeditor_user

Step 5 - cursor ends up at far right

comment:1 Changed 7 years ago by Jakub Ś

Keywords: Firefox added
Status: newconfirmed
Version: 4.0.24.0

Problem can be reproduced from CKEditor 4.0 in Firefox only.

comment:2 Changed 6 years ago by Jakub Ś

Cc: Teresa Monahan Satya Minnekanti added
Keywords: IBM added

#10965 was marked as duplicate.

TC from that ticket (the same thing for links happens also for lists)
To Reproduce:

  1. Use ajax sample
  2. Type in a word, e.g. test, select it by using Ctrl + A
  3. Insert a link
  4. Press the right arrow key

Problem: Cursor moves to the very right of the line

  1. Continue typing

I believe this may have something to do with BR tag included in LI or A elements and how editor handles it. It was working fine till CKEditor 4.0 beta

comment:3 Changed 6 years ago by Jakub Ś

There is very similar issue: #10847. I believe they both duplicate each other and can be fixed with one patch.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy