Opened 19 years ago
Last modified 18 years ago
#428 closed Bug
IE problems created unordered list from pasted list — at Version 3
| Reported by: | Mike Koepke | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
| Component: | General | Version: | SVN (FCKeditor) - Retired |
| Keywords: | Discussion | Cc: |
Description (last modified by )
IE is not working correctly when pasting a list of text.
- On test site with IE, paste the following list:
* Escape from "Corporate-Cubical Hell" * A Series of Law-Lectures * The Weather * An Overnight Jazz D.J. * A 6-Pack on my Patio
- Highlight text and hit bulleted list toolbar item.
- Only a single bullet is created on the line above the Escape... line
Source code generated:
<ul>
<li><br />
* Escape from "Corporate-Cubical Hell"<br />
* A Series of Law-Lectures<br />
* The Weather<br />
* An Overnight Jazz D.J.<br />
* A 6-Pack on my Patio</li>
</ul>
Same behavior is pasting with Ctrl+v, Paste toolbar, Paste as Plain Text, or Paste from Word (with Ctrl+v)
FF generates a bulleted list using the steps above. Source code:
<p> </p>
<ul>
<li>* Escape from "Corporate-Cubical Hell"</li>
<li>* A Series of Law-Lectures</li>
<li>* The Weather</li>
<li>* An Overnight Jazz D.J.</li>
<li>* A 6-Pack on my Patio</li>
</ul>
Change History (3)
comment:1 Changed 19 years ago by
| Milestone: | FCKeditor 2.4.3 |
|---|
comment:2 Changed 19 years ago by
| Keywords: | Discussion added |
|---|---|
| Milestone: | → FCKeditor 2.5 |
comment:3 Changed 18 years ago by
| Description: | modified (diff) |
|---|
Tidied up the description to make it more readable.

The point here, which requires discussions, is how should we handle blocks with <br/> when EnterMode=p (or div)?
In a normal situation, lines separated by a <br/> represent a "single block". Each block is separated by <p>s.
I'm not saying that IE has the correct behavior, or Firefox is correct instead. But, we aim to provide the same results with both browsers.
I'm sure that, no matter which choice me make here, people will always be complaining that the editor doesn't behaves the other way. Maybe make it configurable, making the code much more complex?