Opened 14 years ago
Closed 11 years ago
#7179 closed Bug (fixed)
Remains of selected table, stay in edit area after inserting form element
Reported by: | Krzysztof Studnik | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Selection | Version: | 3.0 |
Keywords: | IE Opera | Cc: |
Description
Environment
IE9, IE8, Opera11
TC
- clear editor contents
- insert default table or template with table
- select all (ctrl + A or
selectall
button) - insert
form
or other form element
Expected
Selection is replaced by <form></form>
element. It works this way in FF3.x/4, Chrome
Actual
Remnants of selected table stays in Editor area:
<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;"> <tbody> <tr> </tr> </tbody> </table> <form name="te"> </form>
Attachments (1)
Change History (4)
comment:1 Changed 14 years ago by
Status: | new → confirmed |
---|---|
Version: | → 3.0 |
Changed 14 years ago by
Attachment: | 7179.patch added |
---|
comment:2 Changed 14 years ago by
Owner: | set to Garry Yao |
---|---|
Status: | confirmed → review |
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | review → closed |
Not reproducible any more.
Propose of making the selection::getRanges return value READONLY, this's to eliminate any less disciplined plugin which make modification to a copy of public instance (selelction._.cache.ranges).
Note that we should enforce this semantic even if possibly a lack of back compat may be introduced.