Opened 17 years ago
Last modified 15 years ago
#3360 assigned Bug
Enlarge range by element problem
| Reported by: | Garry Yao | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.0 |
| Keywords: | HasPatch | Cc: |
Description
When enlarging a block element with element unit, the enlargement will climb up to any ancestor block, which is wrong.
Attachments (2)
Change History (9)
Changed 17 years ago by
| Attachment: | test_range_enlarge_element_td_data.patch added |
|---|
comment:1 Changed 17 years ago by
Enlarge a cell content as in the TC from the following:
<table><tr><td>^cell^</td></tr></table>
would result in the whole table been within the range:
^<table><tr><td>cell</td></tr></table>^
This is wrong because the enlargement doesn't respect the selection.
Changed 17 years ago by
| Attachment: | 3306.patch added |
|---|
comment:2 Changed 17 years ago by
The proposed patch limit the enlargement to the selection range root, prevent it from climbing up.
comment:3 Changed 17 years ago by
| Keywords: | HasPatch added |
|---|
comment:4 Changed 17 years ago by
| Owner: | set to Garry Yao |
|---|---|
| Status: | new → assigned |
comment:5 Changed 17 years ago by
| Milestone: | CKEditor 3.0 → CKEditor 3.x |
|---|
Can you bring us a practical example of this issue?
comment:7 Changed 15 years ago by
| Version: | → 3.0 |
|---|

Unit Test Case