Opened 17 years ago
Last modified 16 years ago
#3051 closed Bug
Domiterator incorrect with enforceRealBlock — at Version 2
| Reported by: | Garry Yao | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.1 |
| Component: | General | Version: | 3.0 Beta 2 |
| Keywords: | Confirmed | Cc: |
Description (last modified by )
When domiterator establish new block for one of the pseudo blocks, others should be left untouched, which is currently not respected.
Procedures
- Open the replace by code example page;
- Make the following content with selection:
<div> first <p>paragraph</p>se^cond</div>
- Click on Increase Indent command.
- Actual Result : A new paragraph is establish for text node 'first' and is indented also.
<div> <p style="margin-left: 40px;"> first</p> <p> paragraph</p> <p style="margin-left: 40px;"> second</p> </div>
- Expected Result : The pseudo block contains text 'first' should be left untouched while the 'second' chunk should be indented.
<div> first <p> paragraph</p> <p style="margin-left: 40px;"> second</p> </div>
Change History (3)
comment:1 Changed 17 years ago by
| Description: | modified (diff) |
|---|---|
| Summary: | RangeIterator not correct with enforcing real blocks → Domiterator incorrect with enforceRealBlock |
Changed 17 years ago by
| Attachment: | test-domiterator.patch added |
|---|
comment:2 Changed 17 years ago by
| Description: | modified (diff) |
|---|---|
| Keywords: | Confirmed added |

Unit Test Case