Opened 18 years ago
Closed 18 years ago
#1291 closed Bug (fixed)
IE: List is not created on empty paragraphs
| Reported by: | Frederico Caldeira Knabben | Owned by: | Frederico Caldeira Knabben |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
| Component: | Core : Lists | Version: | SVN (FCKeditor) - Retired |
| Keywords: | Confirmed IE | Cc: |
Description
Steps to Reproduce
- Load sample01 with IE;
- Hit enter at the end of the text to start a new paragraph;
- Create a list.
Nothing will happen. No lists. The same things is valid when selecting two successive empty paragraphs.
Change History (5)
comment:1 Changed 18 years ago by
| Component: | General → Core : Lists |
|---|
comment:2 Changed 18 years ago by
| Owner: | set to Martin Kou |
|---|---|
| Status: | new → assigned |
comment:3 Changed 18 years ago by
comment:4 Changed 18 years ago by
| Owner: | changed from Martin Kou to Frederico Caldeira Knabben |
|---|---|
| Status: | assigned → new |
comment:5 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed with [906]. Click here for more info about our SVN system.

It seems to be a problem with the DOM range iterator.
I used the following code pasted in IE's address bar to watch the DOM range iterator's behavior here:
javascript: void((f=frames[0], w=f.frames[0], r=new f.FCKDomRange(w), r.MoveToSelection(), i=new f.FCKDomRangeIterator(r))); void(fn=function(){while(b=i.GetNextParagraph())alert(b.tagName);}); void(fn());Say, if you have selected three paragraphs, and you executed the above JavaScript code in the address bar, you should see three message boxes telling you of the paragraphs' node names.
But what I've observed in IE is this...
It seems to me the range iterator is not handling empty blocks correctly right now.