This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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.


  • The Pre button in the default TinyMCE editor.
  • The button with the TinyMCE Advanced plugin activated.


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


zosun 3, 2016
I needed a < div> </ div> button (to allow users to write text single spaced) rather than a pre, so I have used this tiny plugin and tweaked it. thanks.
Read all 1 review

Contributors & Developers

“TinyMCE Pre Button” is open source software. The following people have contributed to this plugin.


Translate “TinyMCE Pre Button” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.