Opened 17 years ago

Last modified 13 years ago

#674 confirmed Bug

problematic cut/copy/paste with lists

Reported by: thomaswaldmann@… Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.0
Keywords: IE Cc:

Description (last modified by Krzysztof Studnik)

When doing cut/copy/paste, frequently, bullets are left behind.

Happens when you try to delete or move up the second line in a list of at least 3.

Cut&pasting of indented bullets goes wrong most of time and you have to make manuel cleanup afterwards.

Most Cut&Paste problems are due to the fact that when you delete a bulleted or indented line, the bullet or indentation is left behind and sometimes applied to the following lines. This happens as well with Firefox as with IE.

Example :

<ul>
  <li>
    <p>AA </p>
  </li></ul><p>BB </p>
  • select the AA line and delete it

Result in FCK:

<ul><li>BB </li></ul>.

This bug was confirmed by another (non-moin) FCKeditor user, he also has seen it.


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

Change History (4)

comment:1 Changed 17 years ago by Martin Kou

Reporter: changed from Martin Kou to thomaswaldmann@…

comment:2 Changed 17 years ago by Martin Kou

Keywords: Confirmed added

comment:3 Changed 13 years ago by Krzysztof Studnik

Component: GeneralCore : Lists
Description: modified (diff)
Keywords: IE added; SF removed
Version: 3.0

Confirmed also for CKEditor 3.6.2Trunk, under IE, works fine under FF:

TC1

  • paste code from original ticket into CKE In source You will get:
    <ul>
    	<li>
    		<p>
    			AA</p>
    	</li>
    </ul>
    <p>
    	BB</p>
    
  • in WYSIWYG, select AA
  • Press backspace

Result

  1. Backspace, pressed once:
    <ul>
    	<li>
    		&nbsp;</li>
    	BB
    </ul>
    
  2. Press backspace, second time
    <p>
    	&nbsp;</p>
    <ul>
    	BB
    </ul>
    

TC2

  • paste
    <ul>
    	<li>	
    			AA</li>
    </ul>
    <p>
    	BB</p>
    
  • select and delete AA line

Result

<p>
	BB</p>
<ul>
</ul>

Expected

For both TC's, I expected that only separate paragraph with BB will be left (MS Word behaviour)

comment:4 Changed 13 years ago by Krzysztof Studnik

Description: modified (diff)
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