Opened 7 years ago

Last modified 7 years ago

#14676 confirmed Bug

P tag pollution in lists after a table

Reported by: Alex T Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 4.3
Keywords: Cc:

Description (last modified by Jakub Ś)

Steps to reproduce

(This is done in the demo site)

  1. Create a list
  2. Create a table in the list item
  3. Move the cursor to the right of the table (using arrow key)
    (Firefox & IE - you must add text and then hit Enter after getting out of table. Please read Other Details Note)
  4. Hit enter
  5. A new list item is created, but with a p tag
  6. Hit enter again
  7. all further list items are created with p tags

Expected result

New list items should just be an empty li

Actual result

All the rest of the list items automatically have p tags within

Other details (browser, OS, CKEditor version, installed plugins)

Demo site with Chrome. We observe this in our build which is based on 4.5.7 as well.

In Firefox & IE, pressing right from the last table cell puts you in a new p tag within the original list item. if you do not type anything into this new p tag, when you press enter, the table gets destroyed. If you do type into it, then you will observe the behaviour described where all the next list items will automatically have p tags

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Description: modified (diff)
Status: newconfirmed

Problem can be reproduced from CKEditor 4.3 in all browsers.

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