Opened 5 years ago

Closed 5 years ago

#11650 closed Bug (duplicate)

Moving cursor past end of line removes current formatting in Firefox

Reported by: Mark Porter Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: mporter@…

Description

This is only a bug on Firefox. I have tested it on the nightly demo page as of 3/7/2014. It works as expected in IE and chrome. I am running Firefox version 27.0.1

I'm using the ENTER_BR enter mode, but it also happens with ENTER_P.

To reproduce:

  1. Open Firefox and go to a blank instance of CKeditor
  2. Select some soft of formatting such as italics. I have tested bold, italics, underline, colors, and font size.
  3. Type "test".
  4. Move cursor to the end of the line by using one of the following:
    1. End Key
    2. Down arrow
    3. Click to the right of the line or below the line.
  5. Type more text. The new text will not have the foratting.

IE and Chrome will keep the formatting. This is the way Microsoft Word works as well.

I have attached a screenshot showing the steps on nightly 14-03-07-07-05

Attachments (1)

repro.png (54.5 KB) - added by Mark Porter 5 years ago.
Reproduction image

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Mark Porter

Attachment: repro.png added

Reproduction image

comment:1 Changed 5 years ago by Mark Porter

Cc: mporter@… added

comment:2 Changed 5 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed
Version: 4.4 (GitHub - major)

DUP of #8195.

This is FF weird feature we have no control over. Please note that 'elements path' tells you exactly where you are (can be used as hint tool) and even if you get out of e.g. styled span you can always come back to it. When you do your TC you leave span boundaries but you can comeback there by pressing e.g. left arrow and right arrow. Elements path will show again that you are inside it.

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