My favorite feature of editors like TinyMCE is that you can press [CTRL]+[B] and the text will automatically become bold. Any chance this will get into a build at some point?

Comments

Poetro’s picture

Assigned: Unassigned » Poetro

Those have a quite good chance to get into the code. If you have some recommendations on the key codes, I would appreciate those.

IceCreamYou’s picture

Okay.

[CTRL]+[B] - Bold
[CTRL]+[I] - Italic
[CTRL]+[U] - Underline
[CTRL]+[=] - subscript
[CTRL]+[SHIFT]+[=] - superscript
[CTRL]+[K] - link
[CTRL]+[J] - unlink
[CTRL]+[Z] - undo
[CTRL]+[Y] - redo
[CTRL]+[M] - image
[TAB] - indent
[SHIFT]+[TAB] - outdent
[CTRL]+[1] - numbered list
[CTRL]+[SHIFT]+[8] - bulleted list
[CTRL]+[H] - HTML
[CTRL]+[X] - cut
[CTRL]+[C] - copy
[CTRL]+[V] - paste
[CTRL]+[L] - left align
[CTRL]+[R] - right align
[CTRL]+[E] - center align
[CTRL]+[W] - justify

I think that's it. Of course, you don't have to use all of them. These are relatively standard and in most cases shouldn't be already mapped by the browser - or at least, shouldn't be mapped to anything that needs to be used while the textarea is in focus.

As a bonus, you could allow admin to re-map the keys.