Opened 4 years ago

Last modified 4 years ago

#13301 confirmed Bug

Can't exit element floated/aligned to right with enter key

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

1.Insert below code into editor

<div style="float: right;">TEST</div>
  1. Put cursor at the end or simply into element and press enter key few times.

Result: New lines are not created (visually) and cursor stays in first line. You can't exit it with enter key or arrows.

Switch to source mode. The result is:

<div style="float: right;">TEST</div>
<div style="float: right;">&nbsp;</div>
<div style="float: right;">&nbsp;</div>

Problem can be reproduced in all browsers from CKEditor 3.0.


I haven't mentioned <div align="right">TEST</div> because it works with HTML4 doctype but not with HTML5 doctype where this attribute is not supported. On the other hand in native contenteditable elements enter key works as expected so perhaps it is worth looking into this particular issue as well.

Change History (2)

comment:1 Changed 4 years ago by Jakub Ś

Similar issue: #13299.

comment:2 Changed 4 years ago by Jakub Ś

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