Item14403: Desperately need improvement on EDIT WYSIWYG
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
To the short of it, in vivaldi backspace means 'BACK'[Webpage.Back], I am sure this is the same on other browsers though have not tested them, it is a nightmare when making a large input/edit to a page and every time you want you backspace to remove a character it LEAVES the editor.
So I would like to suggest whoever handles the
FrontEnd/Javascript development of foswiki please investigate if it would be possible to BLOCK backspace,
apparently backspace according to:
http://keycode.info/ is '8' so something along the following lines should be possible:
<daemon> is there anyway I can capture 'backspace' on a web page
<daemon> I have a WYSIWYG editor on my wiki and every bloody time I press backspace
<daemon> it takes me out the editor to the previous page which is a GIANT pain in the ass
<theskillwithin> input.on('keydown', (e) => { if(e.keyCode === 8) e.preventDefault() })
<theskillwithin> oh that might be using the bling.js https://gist.github.com/paulirish/12fb951a8b893a454b32
--
PaulWebster - 22 May 2017
Looks like this is addressed on trunk with the new
TinyMCE Plugin. Attempting to leave results in a js popup asking to continue or exit. However
NatEdit does not have the same protection.
--
GeorgeClark - 23 May 2017
This is not down to Foswiki; it is a problem with upstream
TinyMCE, and not something we can fix. Please report it to them.
--
Main.CrawfordCurrie - 10 Aug 2017 - 07:48