Kuma: Editor - Duplicate MindTouch's Keyboard Shortcuts

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: davidwalsh, Assigned: davidwalsh)

Tracking

Details

(Whiteboard: u=user c=wiki s=2012-07-03 p=3 t=2012-07-09)

(Assignee)

Description

6 years ago
Duplicate keyboard shortcuts that appear here:

https://developer.mozilla.org/Project:En/MDC_editor_guide#Keyboard_shortcuts
Ideally before launch, please, but I understand there are bigger issues. However, in theory this should be pretty easy.
(Assignee)

Comment 2

6 years ago
Some work by default, the following need to be created:

CONTROL + K:  Open the link editor

CONTROL + W:  Turn the selected text into a link without using the link editor. Note that this sets the link to be the same as the text, which may not be what you really want (since usually you need to prepend the language code to the article's name).

CONTROL + O:  Toggle code style

CONTROL + ALT + ENTER:  Toggle <code> style.

CONTROL + [1-6]:  Changes heading levels

CONTROL + S:  Toggle Source view mode.

CONTROL + SHIFT + L:  Toggles between bulleted list, numbered list, and paragraph format

TAB:  Tab	Increases indent level if in indent mode, otherwise inserts two spaces as a tab.  Inside tables, this jumps to the next cell, or inserts a new row if there is no next cell.  If the cursor is currently in the page title or in a header, the cursor jumps to the next paragraph.

SHIFT + TAB:  Decreases indent level if in indent mode.  Inside tables, this jumps to the previous cell, or inserts a new row if there is no previous cell.  If the cursor is currently in the page title or in a header, the cursor jumps to the next paragraph.

SHIFT + SPACE:  Adds &nbsp;

SHIFT + ENTER:  Exits out of the current block.  For example, if you're currently editing a <pre> block, shift-Enter exits the block, putting you back in the body of the article.
Thanks for the insight, Sheppy. We'll take a look at this in the next planning meeting.
Blocks: 766658
(Assignee)

Comment 6

6 years ago
Sheppy has said that we do not need the CONTROL+W shortcut.
(Assignee)

Updated

6 years ago
Assignee: nobody → dwalsh
Whiteboard: u=user c=wiki s=2012-07-03 p=3

Comment 7

6 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/f95a89f98b46434c2a423d6d246bee049df9e378
fix bug 767035 - Adding Mintouch Keyboard shortcuts to CKEditor.

https://github.com/mozilla/kuma/commit/c1e538319120aa7d2ef79e46f2ddc3085b001968
Merge pull request #308 from darkwing/keyboard-shortcuts-767035

fix bug 767035 - Adding Mintouch Keyboard shortcuts to CKEditor.

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: u=user c=wiki s=2012-07-03 p=3 → u=user c=wiki s=2012-07-03 p=3 t=2012-07-09
Version: Kuma → unspecified
Component: Website → Landing pages
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.