Opened 8 years ago

Last modified 8 years ago

#16500 confirmed Bug

Copy/Paste list doesn't paste first bullet.

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: IE9-11 Cc:

Description

Steps to reproduce

  1. Insert below code into editor and copy the list by selecting it from bottom to top
    <ul>
    	<li>test1
    	<ul>
    		<li>test2
    		<ul>
    			<li>test3
    			<ul>
    				<li>test4</li>
    			</ul>
    			</li>
    		</ul>
    		</li>
    	</ul>
    	</li>
    </ul>
    <p>&nbsp;</p>
    

Expected result

Whole list gets pasted.

Actual result

List gets pasted without fisr bullet:

<p>test1</p>
<ul>
	<li>test2
	<ul>
		<li>test3
		<ul>
			<li>test4</li>
		</ul>
		</li>
	</ul>
	</li>
</ul>

Other details (browser, OS, CKEditor version, installed plugins)

This is how it works in IE. Please use below code on HTML5 page and you will see it works like that.

<div style="margin: 20px; border:1px solid black; width:500px;" contenteditable="true">
<ul>
    <li>111
    <ul>
        <li>222
        <ul>
            <li>333</li>
        </ul>
        </li>
    </ul>
    </li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>

In CKEditor you can use elements path at the bottom. Just click on list and then on left most ul element to select whole list.
Ctrl+A also works and from what I have checked selecting from top t bottom does as well. Only select from bottom to top doesn't work but this is browser issue.

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Status: newconfirmed
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