Opened 10 years ago

Last modified 9 years ago

#3607 confirmed Bug

Enterykey break nested list

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: UI : Enter Key Version:
Keywords: IE Cc:

Description

The following case is even correct with v2.

Reproducing Procedures

  1. Open the replace by class example page with the following content:
     <ol>
        <li>item1</li>
        <li>item2^
        <ol>
            <li>item3</li>
        </ol>
        </li>
    </ol>
    
  2. Now press EnterKey to breakline;
    • Expected Result :
      <ol>
      	<li>
      		item1</li>
      	<li>
      		item2</li>
      	<li>
      		<br /> 
      		<ol>
      			<li>
      				item3</li>
      		</ol>
      	</li>
      </ol>
      
    • Actual Result : Note that the new list item line height is messed up without some necessary content within it.
      <ol>
      	<li>
      		item1</li>
      	<li>
      		item2</li>
      	<li>
      		<ol>
      			<li>
      				item3</li>
      		</ol>
      	</li>
      </ol>
      

Change History (2)

comment:1 Changed 10 years ago by Artur Formella

Component: Core : StylesUI : Enter Key
Keywords: Confirmed IE added
Milestone: CKEditor 3.x

A JavaScript error occurred in node.js/line 162

insertBefore : function( node )
{
	node.$.parentNode.insertBefore( this.$, node.$ ); <<<<<<<<<<
	return node;
},

comment:2 Changed 9 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

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