Found Image http://plugins.svn.wordpress.org/tinymce-code-formatting/assets/icon-128x128.png TinyMCE Code Formatting | Plugin Review Network Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
100%
5 Stars (3 votes)

WP.Org

ReadMe

Support
  • Author:
    mortalis
Version: 1.0.0
Requires: WP 4.1
Last Updated:4083 days ago
Downloads:2852
Tags:
    button, editor, Formatting, shortcut, TinyMCE
Download Plugin Package

TinyMCE Code Formatting

Released on April 7, 2015.
Download Plugin Package

Version: 1.0.0

Adds the Pre and Code buttons to the TinyMCE toolbar with customizable shortcuts

  • Description
  • Installation
  • Screenshots


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:

  • Ctrl+Q - Pre
  • Ctrl+D - Code

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, .., 9
  • Ctrl+[symbols] (-=`[];'\/,.)
  • Ctrl+F1, .., F12
  • Ctrl+Pad0, .., Pad9
  • Ctrl+Pad/, Pad*, Pad+, Pad.
  • Ctrl+Shift+...
  • Ctrl+Alt+...
  • Ctrl+Shift+Alt+...

This plugin GitHub repository: https://github.com/mortalis13/tinymce-code-formatting.


  1. Upload tinymce-pre-button folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress


The buttons in the default TinyMCE editor.
Screenshot 1


The buttons with the TinyMCE Advanced plugin activated.
Screenshot 2


Plugin options page allows to select custom shortcuts.
Screenshot 3



 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string 3CE1Te to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.