Ticket #674 (confirmed Bug)

Opened 7 years ago

Last modified 3 years ago

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 krst) (diff)

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

comment:1 Changed 7 years ago by martinkou

  • Reporter changed from martinkou to thomaswaldmann@…

comment:2 Changed 7 years ago by martinkou

  • Keywords Confirmed added

comment:3 Changed 3 years ago by krst

  • Keywords IE added; SF removed
  • Version set to 3.0
  • Component changed from General to Core : Lists
  • Description modified (diff)

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 3 years ago by krst

  • Description modified (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy