Opened 9 years ago

Last modified 8 years ago

#14353 confirmed Bug

[Blink] It is possible to select content outside nested editable

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

Steps to reproduce

  1. Open http://sdk.ckeditor.com/samples/simplebox.html
  2. Triple click in the simple box header.
  3. Press backspace.

Expected result

Only content of the header was touched.

Actual result

Text from the simplebox content was moved to the header.

Other details (browser, OS, CKEditor version, installed plugins)

This means that backpace handler is also broken as it crosses editable boundaries: #14354.

NOTE: once #14354 is fixed you will need to investigate where's the selection to confirm the issue.

Reported in http://stackoverflow.com/questions/34992972/ckeditor-titlebody-simplebox-example-widget-select-title-text-and-remove

PS. This is a browser issue, but due to a missing spec it's unlikely that someone will patch it.

Change History (6)

comment:1 Changed 9 years ago by Piotrek Koszuliński

Description: modified (diff)

comment:2 Changed 9 years ago by Piotrek Koszuliński

Description: modified (diff)
Status: newconfirmed

comment:3 Changed 8 years ago by Brad Balfour

Any idea when this bug might be fixed?

comment:4 Changed 8 years ago by Jakub Ś

Related issue #12583. It is also possible to select contents from more than one editable using keyboard.

comment:5 Changed 8 years ago by Jakub Ś

Just like #12583, this is something we would like to work on in the future but currently have no ETA for.

comment:6 Changed 8 years ago by Brad Balfour

Ok. We managed to work around this by trapping the change event in the widget and looking to see if the change deleted one of the div's in the widget template. And, if so we re-insert it into the DOM. A hack, but it works. Essentially a self sealing widget.

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