Opened 4 years ago

Closed 4 years ago

#14595 closed Bug (invalid)

single-click selection on contenteditable="false" not working in Chrome

Reported by: drimmeer Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version:
Keywords: Cc:

Description

Steps to reproduce

  1. run CkEditor in Chrome
  2. click the 'Source' button on the ckeditor tool bar, to switch to html source mode
  3. input: <span contenteditable="false">SampleField</span>
  4. click the 'Source' button again to switch back to normal mode
  5. click on the 'SampleField'

Expected result

The 'SampleField' should be selected, and you can move the mouse to drag the whole text to somewhere else

Actual result

The 'SampleField' is not selected, and you can not move the mouse to drag the whole text to somewhere else

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

This works fine in IE and Firefox. OS: Windows 10 CKEditor version: 4.5.8

Change History (1)

comment:1 Changed 4 years ago by Jakub Ś

Keywords: single-click select contenteditable removed
Resolution: invalid
Status: newclosed
Version: 4.5.8

We don't support native nested contenteditable elements.

If you wish to have non-editable elements inside the editor, please use widgets -
http://docs.ckeditor.com/#!/guide/dev_widgets
http://docs.ckeditor.com/#!/guide/widget_sdk_intro
http://ckeditor.com/demo#widgets
We have invented them for a reason :)

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