source_board_162
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

AH keyboard shortcuts/hotkeys?

Solved Go to solution
Highlighted

AH keyboard shortcuts/hotkeys?

Is there a list of keyboard shortcuts? Specifically looking for one to create hyperlink (since AH doesn't seem to automatically recognize them the way other text edits do)

If you're writing an article and are way at the bottom...going all the way to the top to click the insert link button each time is most annoying

Tried Cmd-K which is the standard in most places but it just inserts a numbered list

1 ACCEPTED SOLUTION

Accepted Solutions

Re: AH keyboard shortcuts/hotkeys?

Here are some shortcuts from the AnswerHub code..

ctrl+b => bold 
ctrl+i => italic 
ctrl+j => unordered list 
ctrl+k => ordered list 
ctrl+h => superscript 
ctrl+l => subscript
ctrl+m => remove format

There is no shortcut to create a link though.

shortcuts: function(e, key) {
    if (!this.opts.shortcuts) return;
    if (!e.altKey) {
        if (key === 77) this.shortcutsLoad(e, 'removeFormat');
        else if (key === 66) this.shortcutsLoad(e, 'bold');
        else if (key === 73) this.shortcutsLoad(e, 'italic');
        else if (key === 74) this.shortcutsLoad(e, 'insertunorderedlist');
        else if (key === 75) this.shortcutsLoad(e, 'insertorderedlist');
        else if (key === 72) this.shortcutsLoad(e, 'superscript');
        else if (key === 76) this.shortcutsLoad(e, 'subscript');
    }
}

Jonas

3 REPLIES 3

Re: AH keyboard shortcuts/hotkeys?

Here are some shortcuts from the AnswerHub code..

ctrl+b => bold 
ctrl+i => italic 
ctrl+j => unordered list 
ctrl+k => ordered list 
ctrl+h => superscript 
ctrl+l => subscript
ctrl+m => remove format

There is no shortcut to create a link though.

shortcuts: function(e, key) {
    if (!this.opts.shortcuts) return;
    if (!e.altKey) {
        if (key === 77) this.shortcutsLoad(e, 'removeFormat');
        else if (key === 66) this.shortcutsLoad(e, 'bold');
        else if (key === 73) this.shortcutsLoad(e, 'italic');
        else if (key === 74) this.shortcutsLoad(e, 'insertunorderedlist');
        else if (key === 75) this.shortcutsLoad(e, 'insertorderedlist');
        else if (key === 72) this.shortcutsLoad(e, 'superscript');
        else if (key === 76) this.shortcutsLoad(e, 'subscript');
    }
}

Jonas

Re: AH keyboard shortcuts/hotkeys?

Thanks! @Mark Herring @George Vetticaden we may want to consider requesting one for links as well. When writing longish articles, not having this is pretty painful.

Re: AH keyboard shortcuts/hotkeys?

Thank you all for the suggestion! We will definitely notify mark and get this added to your enhancement ideas!

Don't have an account?
Coming from Hortonworks? Activate your account here