Closed Bug 767035 Opened 12 years ago Closed 12 years ago

Kuma: Editor - Duplicate MindTouch's Keyboard Shortcuts

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davidwalsh, Assigned: davidwalsh)

References

Details

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

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.
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
Sheppy has said that we do not need the CONTROL+W shortcut.
Assignee: nobody → dwalsh
Whiteboard: u=user c=wiki s=2012-07-03 p=3
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.
Status: NEW → RESOLVED
Closed: 12 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: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.