Opened 14 years ago

Closed 14 years ago

#6842 closed Bug (wontfix)

cloneContents can remove the selection.

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

Description (last modified by Garry Yao)

  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 (1)

comment:1 Changed 14 years ago by Garry Yao

Description: modified (diff)
Resolution: wontfix
Status: newclosed

As denoted by the API documentation of that method, please bookmark selection in order to restore it later.

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