Opened 10 years ago

Last modified 9 years ago

#12503 closed Bug

[Blink/Webkit] Incorrect result of select all, backspace/delete — at Version 2

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone: CKEditor 4.5.0 Beta
Component: General Version:
Keywords: Cc: a.nowodzinski@…

Description (last modified by Artur Delura)

  1. Open replacebycode sample.
  2. CTRL+A.
  3. Delete/backspace.
  4. Execute following code in console.
    CKEDITOR.instances.editor1.editable().getHtml();
    

Result:

<h1><small><a data-cke-saved-href="http://en.wikipedia.org/wiki/Apollo_11" href="http://en.wikipedia.org/wiki/Apollo_11"></a></small>​{}</h1>

Expected (as on FF):

<p>[]<br></p>

or (if that's going to be much easier to implement):

<h1>[]<br></h1>

(because <h1> was the first block before pressing backspace)

  • #8439, #8440 - should be fixed by patch for this issue,
  • this issue was introduced by fixes for #9998.

Change History (2)

comment:1 Changed 10 years ago by Piotrek Koszuliński

Description: modified (diff)
Milestone: CKEditor 4.5.0
Status: newconfirmed

comment:2 Changed 9 years ago by Artur Delura

Description: modified (diff)
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