Opened 6 years ago

Last modified 5 years ago

#10178 confirmed Bug

[Webkit] : Magic line is too aggressive in enter mode BR

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0 Beta
Keywords: Webkit Cc:

Description

To reproduce:

  1. Open enter key sample and set mode to BR
  2. Press new page button
  3. Insert two div containers
  4. You should have div div p in elements path now - try clicking inside content area

Result: Elements path shows only body like there is nothing in editor.

In 4.0 beta - You had to source and back to see the code again plus magic line above divs.

From 4.0 - You also have to switch to source and back to see the code again but magic line behaves different.
It shows up in first line and once you click on it, elements path shows only body. This gives you false impression that whole code wasn't created. Since cursor is now in correct place you may want to create your containers again. If you do that and switch to source you will get two sets of divs.
First set for some reason gets hidden.

Problem can be reproduced only in Webkit.

Change History (3)

comment:1 Changed 6 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 6 years ago by Jakub Ś

I have just noticed similar behaviour with invisible divs in enter mode BR existing in 3.x branch so I'm not sure it this has anything to do with magic line.

From CKEditor 3.4.1 with above TC steps it was possible to insert non nested invisible divs that showed up when switching to source and back.

From CKE 3.6.1 rev. [6953] it was possible to insert invisible nested divs. This is an improvement. In next versions if you clicked directly in line where cursor was blinking you were inside created elements but if you have for example clicked below this line elements path was reset.

comment:3 Changed 5 years ago by Jakub Ś

Summary: [Webkit] : Magic line is to aggressive in enter mode BR[Webkit] : Magic line is too aggressive in enter mode BR
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy