Opened 13 years ago

Closed 8 years ago

#8184 closed Bug (fixed)

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

Reported by: Wiktor Walc 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 (3)

comment:1 Changed 13 years ago by Wiktor Walc

Possibly related to #5309.

comment:2 Changed 13 years ago by Jakub Ś

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

comment:3 Changed 8 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

From what I have checked, this test case works properly in CKEditor 4.6.2. I'm closing it as fixed.

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