#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
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Component: | Accessibility → General |
---|---|
Keywords: | Backspace Back History Image Delete removed |
Milestone: | CKEditor 3.1 |
Priority: | High → Normal |