Opened 4 years ago

Last modified 4 years ago

#11326 confirmed Bug

enterKey breaks block-level widgets

Reported by: xmo Owned by:
Priority: Normal Milestone:
Component: UI : Widgets Version: 4.3.1
Keywords: Cc:

Description

If "enterKey" is enabled, hitting [Return] while in a simple block-level (div) widget will break the widget by creating a second "widget body" within the widget wrapper. This leads to odd formatting and an unexpected DOM.

See attached demo, the only plugins are enterKey and a custom widget plugin, put the cursor within the displayed word and hit the [Return] key. Instead of adding a line/paragraph break it will create a second widget within the container (with its own outline and everything).

Attachments (1)

test.html (1.0 KB) - added by xmo 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by xmo

Attachment: test.html added

comment:1 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