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)
Change History (5)
comment:1 Changed 8 years ago by
Keywords: | Blink Webkit added |
---|---|
Status: | new → confirmed |
Version: | 4.5.10 (GitHub - master) → 4.4.4 |
Changed 8 years ago by
Attachment: | video1.swf added |
---|
Changed 8 years ago by
Attachment: | video2.swf added |
---|
Changed 8 years ago by
Attachment: | video3.swf added |
---|
Changed 8 years ago by
Attachment: | endContainer.png added |
---|
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.