Opened 13 years ago

Last modified 13 years ago

#6842 closed Bug

cloneContents can remove the selection. — at Initial Version

Reported by: Joe Kavanagh Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4.3
Keywords: IBM Cc: Damian

Description

  1. Open the Ajax sample in Firefox.
  1. Type some text.
  1. Click the 'Remove Editor' button.
  1. Click the 'Create Editor' button.
  1. Using the mouse select the text you entered in step 2.
  1. Using the Firebug console execute the following:

editor.getSelection().getRanges()[0].cloneContents()

Observe that the text is no longer selected after cloneContents has been called.

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