Opened 15 years ago

Closed 15 years ago

#3620 closed Bug (fixed)

Unexpected document change when selecting item on elementpath

Reported by: Garry Yao Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.0
Component: Core : Styles Version:
Keywords: Confirmed Review+ Cc:


Reproducing Procedures

  1. Open the replace by class example page with the following content and selection:
  2. Now select the '<tr>' item within the element path bar.
    • Expected Result : Document structure remains.
    • Actual Result : Source codes now as :
      	<br />
      	<br />

Attachments (1)

3620.patch (714 bytes) - added by Garry Yao 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Garry Yao

Attachment: 3620.patch added

comment:1 Changed 15 years ago by Garry Yao

Keywords: Review? added
Status: newassigned

This's caued by #3190, but the fixing is not about #3190, it's about the elementpath resolution, the following selection is only possible by using elementpath bar, but we still need to take care of it:

	<table><tbody><tr>^<td>text</td>^</tr></tbody></table>	// Elementpath will tell : blockLimit: body, block: null 

The problem here is that the correct reporting should be : blockLimit: tr, block : null, so the patch is about modifying the pathBlockLimitElements definition.

comment:2 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:3 Changed 15 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [3565].

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