Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#4407 closed Bug (duplicate)

Backspace Key when used to delete image sends user backwards in web history

Reported by: Dave Levin Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

When you select an image within the editor window, and try to delete it with the "backspace" key instead of the "delete" key, the user is taken to the previous page in the web browsing history.

Normally this is acceptable behavior however, this functionality should not be enabled in the editor window just as it is disabled when editing text in a standard form field or textarea.

Disabling the functionality in the editor window will not disable it in the main parent window.

A simple script like this would do the trick:

function stopKey(evt) {

var evt = (evt) ? evt : ((event) ? event : null); if (evt.keyCode == 8) { return false; };

}

document.onkeypress = stopKey; document.onkeydown = stopKey;

Change History (2)

comment:1 Changed 15 years ago by Dave Levin

Resolution: duplicate
Status: newclosed

comment:2 Changed 15 years ago by Alfonso Martínez de Lizarrondo

Component: AccessibilityGeneral
Keywords: Backspace Back History Image Delete removed
Milestone: CKEditor 3.1
Priority: HighNormal
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