Opened 10 years ago

Last modified 10 years ago

#12212 confirmed Bug

carriage return at <br> followed by <a> causes cursor to move unexpectedly to beginning of buffer (chrome only)

Reported by: Frank Farm Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Webkit Blink Cc:

Description (last modified by Jakub Ś)

steps to reproduce:

  1. in mac Chrome 35.0.1916.153 open http://ckeditor.com/demo
  2. view source
  3. delete all the source code
  4. paste in the following source code:
    <p>line 1</p>
    <p>example 1<br />
    <a href="/node/1256">General Pathology</a></p>
    
  5. exit source view
  6. place the cursor at the end of the example 1 line
  7. press Enter

actual: a new paragraph is created and the cursor moves unexpectedly to the beginning of the first line in the Body field.

expected: a new paragraph is created but the cursor stays in the expected position

problem DOES NOT happen in firefox 30.0 on mac os 10.9.3.

Change History (3)

comment:1 Changed 10 years ago by Frank Farm

Problem also happens in Mac Chrome 36.0.1985.125.

comment:2 Changed 10 years ago by Jakub Ś

Description: modified (diff)

comment:3 Changed 10 years ago by Jakub Ś

Keywords: Webkit Blink added
Status: newconfirmed
Version: 4.0

Problem can be reproduced from CKEditor 4.0 (works fine in beta) in Webkit and Blink browsers.

JS error gets thrown: Message: Discontiguous selection is not supported.
URI: ckeditor/core/selection.js
Line: 1969

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