Opened 6 years ago

Last modified 6 years ago

#9985 confirmed Bug

Using the Delete key causes input boxes to be deleted.

Reported by: Doug Lawrence Owned by:
Priority: Normal Milestone:
Component: Core : Keystrokes Version: 3.3
Keywords: Webkit Cc:

Description (last modified by Jakub Ś)

Reproduces on the latest version of chrome (24.0.1312.52) in both OSX Mountain Lion and Windows 7.

Steps to reproduce:

  1. Go to full demo (http://ckeditor.com/demo#full)
  1. Edit source to replace existing with the following: (this was originally manually typed into the editor)
    <p>This is the first sentence.</p>
    
    <p>This is a sentence with an&nbsp;<input name="input" type="text" /> in the middle.</p>
    
  2. Leave source view and put the cursor at the end of the first sentence.
  1. On windows, hit the DEL key or on a Mac, use FN+DELETE to get a delete rather than a backspace.

Expected:
The paragraphs should be combined, like this:

<p>This is the first sentence.This is a sentence with an&nbsp;<input name="input" type="text" /> in the middle.</p>

Actual:
The input box and contents afterward are removed:

<p>This is the first sentence.<span style="line-height: 1.6em;">This is a sentence with an&nbsp;</span></p>

Change History (1)

comment:1 Changed 6 years ago by Jakub Ś

Description: modified (diff)
Keywords: Webkit added
Status: newconfirmed
Version: 4.0.13.3

Problem can be reproduced in Webkit browsers from CKEditor 3.3.

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