TinyMCE Pre Button

Plugin Banner

TinyMCE Pre Button

by mortalis

Download
Description

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.

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

    The Pre button in the default TinyMCE editor.

  2. The button with the TinyMCE Advanced plugin activated.

    The button with the TinyMCE Advanced plugin activated.

Works for me 🙂

By trevorNanders on September 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.

Back to top