Opened 12 years ago

Closed 12 years ago

#752 closed Bug (fixed)

content moved after css applied

Reported by: abenjell@… Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: General Version:
Keywords: SF Cc:

Description

The line after the selection is moved to the end when a style is applied to the selection

The bug is only on IE

To reproduce the BUG :

Use the demo of the 2.3 version at the address:

http://www.fckeditor.net/demo/default.html

1 - Enter this html code

<p>111111111</p>
<p>22222222</p>
<p>33333333</p>

2 - Switch to wysiwyg mode

3 - Select the first line using the mouse. Select from the left to the extreme right. An extra space after the last "1" on the right will be selected. This happen only on IE but not on firefox. If you don't select this extra space the bug will not happen

4 - Apply the style "title" (for example) on the selection.

5 - Switch to HTML Source mode.

<span class="Title">
<p>111111111</p>
<p>&nbsp;</p>
<p>33333333</p>
</span>22222222

6 - The "22222222" is moved to the end on the content !!


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1511945&group_id=75348&atid=543653

Change History (2)

comment:1 Changed 12 years ago by Martin Kou

Reporter: changed from Martin Kou to abenjell@…

comment:2 Changed 12 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.5
Resolution: fixed
Status: newclosed

Fixed with [774]. Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy