Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

SyntaxHighlighter TinyMCE Button

"SyntaxHighlighter TinyMCE Button" provides buttons for Visual Editor and will help to type <pre> tag for SyntaxHighlighter.

  • Fix a bug: Can't change "Using with" option.

  • Fix a bug: Using bloginfo() in the wrong way.
  • Fix a bug: A missing textdomains.

  • Fix a bug: TinyMCE "code" button can't handle sourcecodes including HTML entities(&amp;, &lt;, &gt;, &quot;, &#039;) correctly.


  • Rewritten the codes for array definition.
  • Changed setting data migration process.
  • Fix a bug: When using code button, some browsers give extra line break.


  • Validating the setting values more closely.
  • Added the icon before title block on the setting panel.
  • Fix a bug: The setting data migration processing can't work concurrently with auto-update.
  • Fix a bug: A error message don't be translated.


  • Support WP SyntaxHighlighter ver. 1.5.5 or higher.
  • Checking if the current request carries a valid nonce when settings are saved or reset.
  • Validating the setting value before saved.
  • Changed line feed codes to LF.(except text files) The line feed codes were CR/LF in the many of files.
  • Changed the method of displaying the notice message for admin.
  • Changed the processing method when plugin is updated.
  • Using dirname() and plugin_basename() instead of hardcoded directory name.
  • Changed directory name stored translation files.


  • Fix a bug: "Insert" function of "pre" button does not work in the fullscreen mode.


  • New fullscreen mode in WordPress 3.2 or higher was also supported.


  • Added the "Dafault languages settings for your buttons" options.
  • Added "Reset All Settings" button into the setting panel.
  • All setting value are stored in the associative arrays.
  • Changed processing code for creating buttons.
  • Changed the method to add javascript into setting panel.


  • Added the option to choose pop-up windows size.
  • Changed the method to get plugin directory url.
  • "Secondary mode" is fully integrated into "Normal mode" and removed.


  • Changed the method to get plugin directory url.


  • Removed "sh-tinymce-button-ins-2nd.php" and "sh-tinymce-button-box-2nd.php".
  • "Secondary mode" integrated into "Normal mode".
  • Changed the method to get plugin directory url in "Secondary mode".


  • Fix "Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead." when "WP_DEBUG" is turned on.
  • Added "System Info" in setting panel.
  • Changed processing code for "Secondary mode".


  • Can choose TinyMCE toolbar row which buttons will be placed in.
  • New operating modes optimized for "SyntaxHighlighter Evolved".
  • Added "Secondary mode" for troubleshoot.
  • Changed processing code for creating buttons.




  • Added new options to popup window at the click of "pre" and "CODE" button.



  • Simplified codes related to processing tabfocus.
  • Modified Japanese translation(modified "shtb_adv_lang-ja.mo" file).
  • Translation of button labels on TinyMCE popup window has been completed.
  • layout of buttons on TinyMCE popup window has been changed.


  • Added "CODE" button which allows to paste sourcecode into post or page, keeping indent by tab.
  • Enable to change language and options of previously-markuped code.


  • This is the first version.

Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 5 years ago
Active Installs: 900+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 50,2,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,3,3
100,1,1 100,1,1 100,1,1