Opened 11 years ago

Last modified 11 years ago

#11154 confirmed Bug

Cannot disable list in blockque

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

Description

  1. Open browser (tested with Chrome and IE11).
  2. Open "Replace Textarea Elements by Class Name" sample (samples/replacebyclass.html).
  3. Set this content in editor:
    <ol>
    	<li>aa
    	<blockquote>
    	<ol>
    		<li>bb</li>
    		<li>cc</li>
    	</ol>
    	</blockquote>
    	</li>
    	<li>dd</li>
    </ol>
    
  4. Switch to WYSIWYG mode and select [bb cc].
  5. Press "Insert/Remove numbered list" button.

List is not removed and in console you should see:

Uncaught TypeError: Cannot set property 'indent' of undefined 

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Component: GeneralCore : Lists
Status: newconfirmed
Version: 3.0.2

Problem can be reproduced from CKEditor 3.0.2 in all browsers.

Error is thrown in: URI: /plugins/list/plugin.js
Line: 454
Code: listArray[ listIndex ].indent = -1;
Message: listArray[listIndex] is undefined

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