Opened 8 years ago

Last modified 8 years ago

#14693 confirmed Bug

When applying a header style to a paragraph in OSX Chrome, the paragraph below will also be a header

Reported by: Nathan Vergunst Owned by:
Priority: Normal Milestone:
Component: General Version: 4.4.4
Keywords: Blink Webkit Cc:

Description

Steps to reproduce

Write two lines in the editor in OS X Chrome. Separate the two lines by a whiteline. If 'show blocks' is clicked you should be able to see three lines of the type 'p'. When only the first line is selected and a heading style is applied (e.g. a H2), the line below will also be converted into a heading. This occurs in Chrome, but it doesn't in Firefox.

Attachments (4)

video1.swf (437.2 KB) - added by Jakub Ś 8 years ago.
video2.swf (672.4 KB) - added by Jakub Ś 8 years ago.
video3.swf (536.9 KB) - added by Jakub Ś 8 years ago.
endContainer.png (67.2 KB) - added by Jakub Ś 8 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 8 years ago by Jakub Ś

Keywords: Blink Webkit added
Status: newconfirmed
Version: 4.5.10 (GitHub - master)4.4.4

Problem can be reproduced from CKEditor 4.4.4 in Blink and Webkit browsers. It isn't only limited to MAC. Same can be reproduced on Windows.

It all comes down to how you select text in first paragraph. In video 1 everything is fine because cursor is kept in line 1. In video 2 and 3 cursor when you go slightly below the first line the second line also gets selected. It is perfectly visible in Chrome Windows but not in Chrome Mac. It is possible to get same visual effect as in MAC (see the end of video 2) but end result is the same - two lines get selected.

Whatever the visual selection is (wherever it ends) the actual selection ends in second paragraph. Please see attached screenshot.

Until version 4.4.3 actual selection matched visiual selection. Starting from CKEditor 4.4.4 the selection is more greedy.

Last edited 8 years ago by Jakub Ś (previous) (diff)

Changed 8 years ago by Jakub Ś

Attachment: video1.swf added

Changed 8 years ago by Jakub Ś

Attachment: video2.swf added

Changed 8 years ago by Jakub Ś

Attachment: video3.swf added

Changed 8 years ago by Jakub Ś

Attachment: endContainer.png added
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