Opened 4 years ago

Last modified 4 years ago

#12587 confirmed Bug

Text jumps up after removing list

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 4.1.1
Keywords: Blink Webkit Cc:

Description

Based on #12323.

Open editor with following content:

<ul>
  <li>one</li>
  <li>two</li>
</ul>
<p>hello</p>
  1. Select whole list.
  2. Delete list by pressing backspace.
  3. Click on line with "hello"

Result: text will jump up to first line.

Change History (2)

comment:1 Changed 4 years ago by Jakub Ś

Status: newconfirmed

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

There's a code in editable.js which don't handle autoparagraphing at all. I guess there's a filler char created, because that code tries to put the selection before <p> and then moving the selection somewhere else results in removing filler char hence text jump.

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