#7699 closed Bug (invalid)
problem with list
Reported by: | Régis Houssin | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Lists | Version: | 3.5.3 |
Keywords: | bullet list | Cc: |
Description
Hi,
I have a problem with display lists (bulleted or number) I have this in the html source:
<ul> <li> test</li> <li> test</li> <li> test</li> </ul>
This creates a line break and add a
<br />
in the code of the page
<ul> <li><br /> test</li><br /> <li><br /> test</li><br /> <li><br /> test</li><br /> </ul>
why we do not do this?
<ul> <li>test</li> <li>test</li> <li>test</li> </ul>
thanks for your help Régis
Attachments (2)
Change History (12)
comment:1 Changed 14 years ago by
Status: | new → pending |
---|
comment:2 Changed 14 years ago by
ok sorry, i change the view in my application, but why ckeditor add a break line in <li></li> ?
comment:3 Changed 14 years ago by
What do you mean by "I change the view in my application" ?
Regarding your question - that's the whole problem I could not get the same result as you did that is why I'm asking you about some details how to reproduce this bug. Just like I have said before I need some information about: browser, OS, CKEditor configuration: default or custom and if custom than what options have you used. Also is this bug reproducible in demo version (clean CKEditor version) or only with some sort of framework what might point to mistake in application not CKEditor itself.
If I manage to reproduce this bug I will be able to tell you more.
comment:4 Changed 14 years ago by
I see this happen very frequently with latest Chrome and IE9 with 3.5.3, but unfortunately I don't have exact steps to reproduce. This is definitely a real issue though.
comment:5 Changed 14 years ago by
Great news, at least in our case, I was able to track this down to a problem with our own display code. CKEditor was not at fault!
comment:6 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
comment:7 Changed 14 years ago by
hi,
i add 2 attach-files in this ticket, an editor view and a source view you see line break in <li> ???
thanks
comment:8 Changed 14 years ago by
i have that prob too. using $CKEditor->replaceAll(); to replaces All the <textarea> reproduce at sample: 1) Click insert bulleted list 2) type in "this is first line" 3) hit enter ( next bullet is out ) 4) type in "this is 2 line" 5) hit enter two times ( enter + enter ) 6) click at the SOURCE button u will get
<ul> <li dir="ltr"> this is the first line</li> <li dir="ltr"> this is 2 line</li> </ul> <p> </p>
enter x2 is to exit the li tag. if u click the bulleted list again at the 3 <li>u will get
<ul> <li dir="ltr"> this is the first line</li> <li dir="ltr"> this is 2 line</li> </ul> <p dir="ltr"> </p>
thank in advance
comment:9 Changed 14 years ago by
This is how CKEditor formats HTML code. It can be changed by the user - at least some of the rules.
For more details please see: http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Output_Formatting.
You may find something useful in CKEditor documentation as well.
comment:10 Changed 14 years ago by
One more very useful link: http://docs.cksource.com/CKEditor_3.x/Howto
Unfortunately I was not able to reproduce this issue in any browser for CKEditor version 3.5.3.
Could you tell me in which browser(s) did this issue occur and what configuration settings were you using (e.g. enterMode set to BR). Have you tried to reproduce this issue in our latest demo version http://nightly.ckeditor.com/demo? I’m asking because if you are using CKEditor with some kind of framework than maybe the problem lies not in CKEditor itself but in your configuration settings. Also this issue may have already been fixed in the latest demo version.
Waiting for your comments.