Keyboard Shortcuts

scorres

Hetero-sapien
Apr 12, 2009
1,106
73
I meant to paste with 'ctrl+v' and I hit 'b'
and [-B][-/B]!!!!! (no '-', can't disable bbc)
The BOLD tags!
This would have been a good thing to know
when I couldn't use scripts here. To have this
implimented wouldn't be by accident. Is there a list of shortcuts
for Akiba? This doesn't work on the rest of the net.
Bookmarks pops up.
 

ezepietro

(。◕‿◕。)
Sep 7, 2008
3,905
11,462
More

Ctrl+U = [-U][-/U]: Sample

Ctrl+I / Ctrl+9 = [-I][-/I]: Sample

Ctrl+2 = [-B][-/B] : Sample
 

chompy

slacker
Staff member
Super Moderator
Emperor
Nov 7, 2006
1,763
615
The ctrl keys aren't documented in our forum software, however I think they are all fairly standard for wysiwyg editors e.g. word processors.

ezepietro has it right.

Ctrl+
b = bold
i = italic
u = underline

These are the formatting options and are controlled by javascript (vB_Text_Editor_Events.prototype.editdoc_onkeypress = function(e)) [hide]
Code:
if (e.ctrlKey) 
    { 
        var code = e.charCode ? e.charCode : e.keyCode; 
        switch (String.fromCharCode(code).toLowerCase()) 
        { 
            case 'b': cmd = 'bold'; break; 
            case 'i': cmd = 'italic'; break; 
            case 'u': cmd = 'underline'; break; 
            default: return; 
        } 

        e = do_an_e(e); 
        vB_Editor[this.editorid].apply_format(cmd, false, null); 
        return false; 
    }
[/hide]
Some other keyboard shortcuts:

Ctrl+
c = copy
x = cut
z = undo
y = redo

These work on the browser level.