Item14403: Desperately need improvement on EDIT WYSIWYG

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: WysiwygPlugin
Branches:
Reported By: PaulWebster
Waiting For:
Last Change By: CrawfordCurrie
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

 

ItemTemplate edit

Summary Desperately need improvement on EDIT WYSIWYG
ReportedBy PaulWebster
Codebase 2.1.4 RC1
SVN Range
AppliesTo Engine
Component WysiwygPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 10 Aug 2017, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy