Opened 12 years ago

Closed 9 years ago

#8915 closed Bug (fixed)

Pagebreak jumps to top of Number/Bullet list when we navigate to HTML Source & back to Rich text

Reported by: Satya Minnekanti Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IBM Cc: Damian, Teresa Monahan

Description

To reproduce the defect:

  1. Open any CK Editor sample & insert a Numbered list with 4 list items.
  1. Keep cursor at end of 2nd list item & click on Insert Page break for Printing icon.
  1. Page break inserted between 2nd & 3rd list items.
  1. Switch to HTML Source & back to Rich text.

Issue: Page break jumps to top of Numbered list.

Same issue happens with Bulleted list

Change History (4)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed
Version: 3.0

Reproducible in all browsers from CKEditor 3.0.

If you look at the code with Firebug (before switching to source) you will notice that page-break gets inserted in the list (between li items and not in one of li items). When you switch to source and back - dataProcessor is fixing this - moving div from the list.

I assume that most valid behavior is page-break splitting list in two. Can you confirm @satya.

When fixing this issue please also have a look at #6091 as there might be one solution for those two.

Last edited 12 years ago by Jakub Ś (previous) (diff)

comment:2 Changed 12 years ago by Damian

I would think that the most valid behavior would be to preserve the list structure.

comment:3 Changed 12 years ago by Jakub Ś

Right li should be inserted in one of li elements.

comment:4 Changed 9 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

Not reproducible any more. Now the pagebreak is inserted in the list item.

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