TinyMCE Code Formatting

By : mortalis

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.

TinyMCE Pre Button

The button and shortcut toggle the preformatted style on the selected text or the current line. It uses the same command as the Pre item in the Formatting list in the toolbar....

Similar: 84%

TinyMCE Code Button

This plugin simply adds a button in the rich TinyMCE editor of WordPress to put selection between <code> tag. Don't hesitate to ask me new features or report bugs on potsky.com ! You can join me on GitHub to add feature, fix bugs,... !...

Similar: 67%

WYSIWYG Inline Code Command

The WYSIWYG Inline Code Command plugin adds an "inline code" command to the WYSIWYG (visual) post and page editor. It's just like the "Bold" or "Italics" commands, except that it makes your text look like code -- usually, this means that it's drawn in a monospace font like this. The comand is access.........

Similar: 34%

Global Content Blocks

Global Content Blocks lets you create your own shortcodes to insert reusable code snippets, PHP or HTML including forms, opt-in boxes, iframes, Adsense code, etc, into pages and posts as well as widgets and directly into php content. You can insert them directly using shortcodes or via a button in .........

Similar: 14%

Zedity Editor: The Best Way to Create Your Posts and Pages!

Would you like to make your WordPress experience much easier? Zedity enables you to create posts and pages as naturally as writing on paper! With absolutely no coding skills required, creating catchy and professional content becomes incredibly easy and quick for anyone! Zedity is available in .........

Similar: 5%

Plug-N-Edit Full Drag & Drop HTML Visual Editor with Web Page Builder WYSIWYG

New Users - Full Drag And Drop! PlugNedit has a more powerfull free version just released in BETA please take a look if you would prefer the newer editor. In Theme Live Editing. Mobile and Full size views with preview. Video Backgrounds. More Stable. Greater Options. Use theme CSS. Adaptive Resp.........

Similar: 5%

Social Share 2.0 - Social Bookmarks

This plugin adds a small widget within each blog post to share blog posts on Facebook, Twitter, Google Buzz, Digg, Surfpeople, and well over 100 more social bookmarking and sharing sites ....

Similar: 4%

Wp-Editor

Features CodeMirror Active Line Highlighting Line Numbers Line Wrapping Eight Editor Themes with Syntax Highlighting Fullscreen Editing (ESC, F11) Text Search (CMD + F, CTRL + F) Individual Settings for Each Editor FancyBox for image viewing AJAX File Browser Allowed Extensions List Easy to use Se.........

Similar: 4%

Ads Manager WP/BB

Use this plugin to quickly and easily insert Any Ad code Unit to your posts and BuddyPress sections including Forum topics....

Similar: 4%

Landing Pages Builder

Create amazing Landing Pages, Website Popups and Forms from your WordPress site in minutes for FREE! Use one of our many responsive templates, run A/B tests, track, manage and export your leads, much more! You can create all kinds of landing pages: lead-gen, sales, support, ebook download, w.........

Similar: 4%