Opened 5 years ago

Last modified 5 years ago

#11411 confirmed Bug

Cannot change nested list type in blockquote

Reported by: Piotr Jasiun Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.0.2
Keywords: Cc:

Description

  1. Open editor (replacebyclass.html) and paste following html as a source:
    <ol>
    	<li>aa
    	<blockquote>
    	<ol>
    		<li>bb</li>
    		<li>cc</li>
    	</ol>
    	</blockquote>
    	</li>
    	<li>dd</li>
    </ol>
    
  2. Go to WYSIWYG mode and select [bb ... cc].
  3. Press "Insert/Remove Bulleted List" button.

Result:

  • nested list type is unchange,
  • error in console: "Uncaught TypeError: Cannot read property 'parent' of undefined."
  • when you do to the source mode you will se bookmarks:
    <li><span id="cke_bm_152S" style="display:none">&nbsp;</span>bb</li>
    <li>cc<span id="cke_bm_152E" style="display:none">&nbsp;</span></li>
    

Tested with Chrome and FF.

Change History (3)

comment:1 Changed 5 years ago by Marek Lewandowski

Status: newconfirmed

Confirmed with IE10, Chrome, FF26

FF 26 produces slightly diffrent exception TypeError: w[D] is undefined

comment:2 Changed 5 years ago by Jakub Ś

Problem can be reproduced from CKEditor 3.0.2 in every browser.

NOTE:

FF 26 produces slightly diffrent exception TypeError: w[D] is undefined

Well, yes you may get this when you test things with release code :).

Line:314
Message: listArray[listIndex] is undefined
Code: listNode = listArray[ listIndex ].parent;
URI: ckeditor/plugins/list/plugin.js

comment:3 Changed 5 years ago by Jakub Ś

Component: GeneralCore : Lists
Version: 3.6.6 (SVN - trunk)3.0.2
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy