Ticket #8184 (confirmed Bug)

Opened 23 months ago

Last modified 23 months ago

Inconsistent behavior when inserting <dt><dd> into a definition list with insertHtml

Reported by: wwalc Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.1
Keywords: Cc:

Description

  1. Open _samples/api.html
  2. Start with the following source and selection
    <p>first line</p>
    <dl>
    <dt>^definition1</dt>
    <dd>detail1</dd>
    </dl>
    
  3. Paste into the textarea below CKEditor:
    <dt>definition</dt><dd>detail</dd>
    
  4. Click "Insert HTML"
  5. Results:
    IE - new definition list is created
    Firefox - dt/dd is pasted inside of exisitng definition list, but also an empty definition term is created:
    <dl>
    	<dt>
    		&nbsp;</dt>
    	<dt>
    		definition</dt>
    	<dd>
    		detail</dd>
    	<dt>
    		^definition1</dt>
    	<dd>
    		detail1</dd>
    </dl>
    

Change History

comment:1 Changed 23 months ago by wwalc

Possibly related to #5309.

comment:2 Changed 23 months ago by j.swiderski

  • Status changed from new to confirmed
  • Version set to 3.1

Opera, IE have been creating two definition lists from CKE 3.5.3 Webkit has been creating three definition lists from CKE 3.5.3

Firefox has been inserting empty definition term from CKE 3.1

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