Opened 11 years ago

Last modified 10 years ago

#11042 closed Bug

Selection.selectRanges selects contents of a non-editable element — at Initial Version

Reported by: Piotrek Koszuliński Owned by:
Priority: Must have (possibly next milestone) Milestone: CKEditor 4.3.1
Component: Core : Selection Version:
Keywords: Cc:

Description

  1. Go to placeholder sample.
  2. Select placeholder.
  3. Click bold button.
  4. Click "strong" in elements path
  • Expected: placeholder should be selected with fake selection.
  • Actual: selection is anchored inside widget element.

Elements path uses the selection#selectElement method which does nothing more than selectRanges, so the issue is inside selectRanges or in browsers (less likely).

Change History (0)

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