As of April 2026, TinyMCE Code Formatting is a WordPress button plugin with 80 active installations and a 5/5 rating from 3 reviews. It has been downloaded 4.0K+ times in total. Requires WordPress 4.1+ and PHP false+. Available on WordPress.org since 2015. Last updated 10 years ago — may have compatibility concerns. Top alternative: AddQuicktag.
The Pre button toggles the preformatted style on the selected text or the current line (applies <pre> tag to blocks).
The Code button toggles the code style on the selected text or the current word (applies <code> tag to inline elements).
The default shortcuts for the buttons are:
In the admin Settings submenu it’s possible to change these shortcuts.
Press a key combination in the text fields with the Ctrl key included and the text will be filled automatically. Or you can type it manually.
Some combinations may conflict with the default editor or browser shortcuts.
So check them on your instance.
You may use these types of shortcuts:
Ctrl+B, .., Z (except AXCV)Ctrl+0, .., 9Ctrl+[symbols] (-=`[];'\/,.)Ctrl+F1, .., F12Ctrl+Pad0…| WordPress | 4.1+ requiredTested up to 4.1.42 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.