Ticket #8915 (confirmed Bug)

Opened 2 years ago

Last modified 20 months ago

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

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

comment:1 Changed 2 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 20 months ago by j.swiderski (previous) (diff)

comment:2 Changed 2 years ago by damo

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

comment:3 Changed 20 months ago by j.swiderski

Right li should be inserted in one of li elements.

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