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 )
- 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.
Change History (1)
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
As denoted by the API documentation of that method, please bookmark selection in order to restore it later.