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 Martin Kou)

IE is not working correctly when pasting a list of text.

  1. 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
  1. Highlight text and hit bulleted list toolbar item.
  1. Only a single bullet is created on the line above the Escape... line

Source code generated:

<ul>
    <li><br />
    * Escape from &quot;Corporate-Cubical Hell&quot;<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>&nbsp;</p>
<ul>
    <li>* Escape from &quot;Corporate-Cubical Hell&quot;</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 Frederico Caldeira Knabben

Milestone: FCKeditor 2.4.3

comment:2 Changed 19 years ago by Frederico Caldeira Knabben

Keywords: Discussion added
Milestone: FCKeditor 2.5

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?

comment:3 Changed 18 years ago by Martin Kou

Description: modified (diff)

Tidied up the description to make it more readable.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy