Last modified: 2013-05-28 23:14:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40461, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38461 - VisualEditor: {Ctrl|Option}+{Delete,Backspace} should delete a word right, left of the caret
VisualEditor: {Ctrl|Option}+{Delete,Backspace} should delete a word right, le...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Unprioritized minor
: VE-deploy-2012-08-20
Assigned To: Christian Williams
:
Depends on: 48912
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-18 00:21 UTC by James Forrester
Modified: 2013-05-28 23:14 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2012-07-18 00:21:26 UTC
Ctrl+{Delete,Backspace} should delete a word right, left of the caret; Option+{Delete,Backspace} on Mac.

Currently deletes a character right, left of the caret.
Comment 1 James Forrester 2012-07-18 00:22:09 UTC
Assigning to Christian as he's requested for all key-binding tickets.
Comment 2 Amir E. Aharoni 2012-07-21 11:09:35 UTC
As with bug 38000, this feature must be left to the browser as much as possible. Some browsers delete the space after the word, some don't; some delete the punctuation after the word, some don't; in some languages the meaning of "word" is very surprising to people who speak English; in RTL languages "right" is the previous word and not the next; etc. We should just leave the behavior to which the users are accustomed in their favorite browsers.

See https://www.mediawiki.org/wiki/VisualEditor/Internationalization_requirements .
Comment 3 Christian Williams 2012-08-20 18:13:46 UTC
This has been fixed. We're no longer programmatically handling delete and backspace keypresses. Now, we let the browser do its thing and we observe what's changed and compose an accurate transaction to the data model. The exception is at node boundaries (pressing backspace at the beginning of a paragraph, for example) which are still handled programmatically.
Comment 4 Amir E. Aharoni 2013-05-28 21:42:51 UTC
It doesn't work in RTL.
Comment 5 James Forrester 2013-05-28 23:14:47 UTC
The(In reply to comment #4)
> It doesn't work in RTL.

Bug 48912 is this bug for RTL; this has been closed for a year as done.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links