Opened 9 years ago

Closed 6 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">
	&nbsp;</form>

Attachments (1)

7179.patch (1.5 KB) - added by Garry Yao 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by Garry Yao

Status: newconfirmed
Version: 3.0

Changed 9 years ago by Garry Yao

Attachment: 7179.patch added

comment:2 Changed 9 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmedreview

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.

comment:3 Changed 6 years ago by Piotrek Koszuliński

Resolution: fixed
Status: reviewclosed

Not reproducible any more.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy