Opened 5 years ago

Closed 2 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 Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IBM Cc: damo, tmonahan


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 5 years ago by j.swiderski

  • Status changed from new to confirmed
  • Version set to 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 5 years ago by j.swiderski (previous) (diff)

comment:2 Changed 5 years ago by damo

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

comment:3 Changed 5 years ago by j.swiderski

Right li should be inserted in one of li elements.

comment:4 Changed 2 years ago by Reinmar

  • Resolution set to fixed
  • Status changed from confirmed to closed

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

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