Last modified: 2014-09-25 22:05:34 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 T54597, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52597 - VisualEditor: Add keyboard shortcut for code element/style
VisualEditor: Add keyboard shortcut for code element/style
Status: VERIFIED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal enhancement
: VE-deploy-2014-09-18
Assigned To: James Forrester
:
Depends on:
Blocks: ve-keyboardshortcuts
  Show dependency treegraph
 
Reported: 2013-08-07 05:13 UTC by Matthew Flaschen
Modified: 2014-09-25 22:05 UTC (History)
6 users (show)

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


Attachments

Description Matthew Flaschen 2013-08-07 05:13:11 UTC
A keyboard shortcut for code would be helpful, particularly for MediaWiki.org.  We'll need to think of what to use.
Comment 1 Matthew Flaschen 2013-08-07 07:50:47 UTC
One possiblity is Ctrl-{.  It takes three key strokes on some keyboards, but it's memorable as long as it matches the toolbar icon, and not that hard to type.
Comment 2 James Forrester 2013-08-07 08:58:26 UTC
(In reply to comment #1)
> One possiblity is Ctrl-{.  It takes three key strokes on some keyboards, but
> it's memorable as long as it matches the toolbar icon, and not that hard to
> type.

We're almost certainly not going to keep '{}' for code (especially as there's <code> and <syntaxhighlight> that need to be distinguishable), but it's a possibility.
Comment 3 Frederick Giasson 2013-11-21 13:36:41 UTC
When is this planned? I was about to write that enhancement proposition as well when I saw this ticket.

My personal preference would be to have a shortcut near the ctrl tab on the left of the keyboard.
Comment 4 Gerrit Notification Bot 2014-09-13 01:04:03 UTC
Change 160174 had a related patch set uploaded by Jforrester:
Add keyboard shortcuts for strikethrough and code annotations

https://gerrit.wikimedia.org/r/160174
Comment 5 Gerrit Notification Bot 2014-09-15 23:21:52 UTC
Change 160174 merged by jenkins-bot:
Add keyboard shortcuts for strikethrough and code annotations

https://gerrit.wikimedia.org/r/160174
Comment 6 Rummana Yasmeen 2014-09-25 22:05:34 UTC
Verified the fix in production

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


Navigation
Links