Opened 16 years ago
Last modified 14 years ago
#3358 new Task
Optimize 'CKEDITOR.dom.range.enlarge' on block unit
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | HasPatch | Cc: |
Description
After enlarging the range with a block unit with the following input:
<div>text^<p>paragraph</p></div>^
We'll got:
<div>^text<p>paragraph</p></div>^
No we got a partially selected block, it's better to have the 'div' been fully selected to prevent consequence operation like extractContent from resulting in unwanted node pieces, so an optimized result would be the following:
^<div>text<p>paragraph</p></div>^
Attachments (2)
Change History (7)
Changed 16 years ago by
Attachment: | 3358.patch added |
---|
comment:1 Changed 16 years ago by
Keywords: | HasPatch added |
---|
comment:2 Changed 16 years ago by
Milestone: | CKEditor 3.0 → CKEditor 3.x |
---|
comment:4 Changed 14 years ago by
Type: | Bug → Task |
---|
comment:5 Changed 14 years ago by
Version: | → 3.0 |
---|
The proposed patch is containing the latest patch from #3360 on which it depends.