Opened 14 years ago
Last modified 14 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
- Open the Ajax sample in Firefox.
- Type some text.
- Click the 'Remove Editor' button.
- Click the 'Create Editor' button.
- Using the mouse select the text you entered in step 2.
- 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.