Created 10-13-2015 05:38 PM
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
Created 10-13-2015 06:21 PM
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
Created 10-13-2015 06:21 PM
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
Created 11-20-2015 07:17 PM
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.
Created 12-08-2015 03:13 PM
Thank you all for the suggestion! We will definitely notify mark and get this added to your enhancement ideas!