{"id":13098,"date":"2011-04-30T15:04:16","date_gmt":"2011-04-30T15:04:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/syntaxhighlighter-tinymce-button\/"},"modified":"2011-12-24T02:18:40","modified_gmt":"2011-12-24T02:18:40","slug":"syntaxhighlighter-tinymce-button","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/syntaxhighlighter-tinymce-button\/","author":7838499,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.7.8.4","stable_tag":"0.7.8.4","tested":"3.3.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"SyntaxHighlighter TinyMCE Button","header_author":"redcocker","header_description":"","assets_banners_color":"f4f4f4","last_updated":"2011-12-24 02:18:40","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.near-mint.com\/blog\/donate","header_plugin_uri":"http:\/\/www.near-mint.com\/blog\/software\/syntaxhighlighter-tinymce-button","header_author_uri":"http:\/\/www.near-mint.com\/blog\/","rating":0,"author_block_rating":0,"active_installs":100,"downloads":21456,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.7.8.4":"<p>This version has a bug fix.<\/p>","0.7.8.3":"<p>This version has some bug fixes.<\/p>","0.7.8.1":"<p>This version has a bug fix.<\/p>","0.7.8":"<p>This version has some changes and bug fix.<\/p>","0.7.7":"<p>This version has some changes and bug fixes.<\/p>","0.7.5":"<p>This version has some changes.<\/p>","0.7.2":"<p>This version has a bug fix.<\/p>","0.7.1":"<p>This version has a new feature.<\/p>","0.7":"<p>This version has a new feature and changes.<\/p>","0.6":"<p>This version has a new feature and changes.<\/p>","0.5.7":"<p>This version has some changes.<\/p>","0.5.6":"<p>This version has some changes.<\/p>","0.5.5":"<p>This version has some changes and bug fix.<\/p>","0.5":"<p>This version has some new features and changes.<\/p>","0.4.1":"<p>This version has a low-priority change.<\/p>","0.4":"<p>This version has some new features and bug fix.<\/p>","0.3":"<p>This version has some new features.<\/p>","0.2.2":"<p>This version has a low-priority change.<\/p>","0.2.1":"<p>This version has some low-priority changes.<\/p>","0.2":"<p>This version has some new features.<\/p>","0.1.1":"<p>This version is the first version.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"480092","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.1","0.2","0.2.1","0.2.2","0.3","0.4","0.4.1","0.5","0.5.5","0.5.6","0.5.7","0.6","0.7","0.7.1","0.7.2","0.7.5","0.7.7","0.7.8","0.7.8.1","0.7.8.3","0.7.8.4"],"block_files":[],"assets_screenshots":{"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1573780","resolution":"4","location":"plugin"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1573780","resolution":"2","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1573780","resolution":"1","location":"plugin"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1573780","resolution":"3","location":"plugin"}},"screenshots":{"1":"This is added buttons on TinyMCE.","2":"This is pop up window at the click of \"pre\" button.","3":"This is pop up window at the click of \"CODE\" button.","4":"This is setting panel."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[485,1214,9663,9662,1719],"plugin_category":[46],"plugin_contributors":[83691,81285],"plugin_business_model":[],"class_list":["post-13098","plugin","type-plugin","status-publish","hentry","plugin_tags-button","plugin_tags-code","plugin_tags-sourcecode","plugin_tags-syntaxhighlighter","plugin_tags-tinymce","plugin_category-editor-and-writing","plugin_contributors-homolibere","plugin_contributors-redcocker","plugin_committers-redcocker"],"banners":{"banner":"https:\/\/ps.w.org\/syntaxhighlighter-tinymce-button\/assets\/banner-772x250.png?rev=480092","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/syntaxhighlighter-tinymce-button_f4f4f4.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/syntaxhighlighter-tinymce-button\/trunk\/screenshot-1.jpg?rev=1573780","caption":"This is added buttons on TinyMCE."},{"src":"https:\/\/ps.w.org\/syntaxhighlighter-tinymce-button\/trunk\/screenshot-2.jpg?rev=1573780","caption":"This is pop up window at the click of \"pre\" button."},{"src":"https:\/\/ps.w.org\/syntaxhighlighter-tinymce-button\/trunk\/screenshot-3.jpg?rev=1573780","caption":"This is pop up window at the click of \"CODE\" button."},{"src":"https:\/\/ps.w.org\/syntaxhighlighter-tinymce-button\/trunk\/screenshot-4.jpg?rev=1573780","caption":"This is setting panel."}],"raw_content":"<!--section=description-->\n<p>\"SyntaxHighlighter TinyMCE Button\" provides additional buttons for \"Visual Editor(TinyMCE)\" and these buttons will help to type or edit <code>&lt;pre&gt;<\/code> tag for Alex Gorbatchev's SyntaxHighlighter.<\/p>\n\n<p>This plugin is based on \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/codecolorer-tinymce-button\/\" title=\"homolibere developed\">CodeColorer TinyMCE Button<\/a>\" and becomes more feature-rich.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>You can operate in Visual Editor, No need to use HTML Editor.<\/li>\n<li>Using two buttons, easy to wrap your code in <code>&lt;pre&gt;<\/code> tag and change options of previously-wrapped code.<\/li>\n<li>Once your code is wrapped in <code>&lt;pre&gt;<\/code> tag, You can type 'tabs' for indent.<\/li>\n<li>Localization: English(Default), \u65e5\u672c\u8a9e(Japanese, UTF-8).<\/li>\n<\/ul>\n\n<h4>Compliant plugins<\/h4>\n\n<p>You can use this plugin with following code syntax highlighter.<\/p>\n\n<ul>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-syntaxhighlighter\/\" title=\"WP SyntaxHighlighter\">WP SyntaxHighlighter<\/a> (recommend)<\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntax-highlighter-compress\/\" title=\"Syntax Highlighter Compress\">Syntax Highlighter Compress<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/auto-syntaxhighlighter\/\" title=\"Auto SyntaxHighlighter\">Auto SyntaxHighlighter<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntax-highlighter-and-code-prettifier\/\" title=\"Syntax Highlighter and Code Colorizer for WordPress\">Syntax Highlighter and Code Colorizer for WordPress<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntax-highlighter-mt\/\" title=\"Syntax Highlighter MT\">Syntax Highlighter MT<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntaxhighlighterpro\/\" title=\"SyntaxHighlighterPro\">SyntaxHighlighterPro<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/easy-google-syntax-highlighter\/\" title=\"Easy Google Syntax Highlighter\">Easy Google Syntax Highlighter<\/a><\/li>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntaxhighlighter\/\" title=\"SyntaxHighlighter Evolved\">SyntaxHighlighter Evolved<\/a> etc.<\/li>\n<\/ul>\n\n<p>When using with \"SyntaxHighlighter Evolved\", \"Load All Brushes\" option must be enabled on the \"SyntaxHighlighter\" setting panel.<\/p>\n\n<p>This plugin has operating modes optimized for \"WP SyntaxHighlighter\", \"Syntax Highlighter Compress\" or \"SyntaxHighlighter Evolved\".<\/p>\n\n<h4>Notes<\/h4>\n\n<p>This plugin can work only with the default visual editor(TinyMCE). Other visual editors are not supported.<\/p>\n\n<p>This plugin is designed to work with a plugin based on Alex Gorbatchev's SyntaxHighlighter Ver, 2.0 or higher.<\/p>\n\n<p>You can not use this plugin with some 'SyntaxHighlighter'-based plugins which do not support <code>&lt;pre&gt;<\/code> tag.<\/p>\n\n<!--section=installation-->\n<h4>Installation<\/h4>\n\n<ol>\n<li>Upload plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>If you need, go to \"Settings\" -&gt; \"SH TinyMCE Button\" to configure.<\/li>\n<\/ol>\n\n<p>If you use \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-syntaxhighlighter\/\" title=\"WP SyntaxHighlighter\">WP SyntaxHighlighter<\/a>\", \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntax-highlighter-compress\/\" title=\"Syntax Highlighter Compress\">Syntax Highlighter Compress<\/a>\" or \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntaxhighlighter\/\" title=\"SyntaxHighlighter Evolved\">SyntaxHighlighter Evolved<\/a>\", you should configure \"Using with\" option on the setting panel.<\/p>\n\n<h4>Usage<\/h4>\n\n<p><strong>Usage: To paste your code into the post or page.<\/strong><\/p>\n\n<p>If you want to paste the code from the other document into your post or page, this way is best. Your pasted code will be warpped in <code>&lt;pre&gt;<\/code> tag automatically.<\/p>\n\n<ol>\n<li>Click \"CODE\" button.<\/li>\n<li>Select language and options and paste your code into textbox.<\/li>\n<li>Click \"Insert\" button.<\/li>\n<\/ol>\n\n<p><strong>Usage: To wrap previously-written code in <code>&lt;pre&gt;<\/code> tag.<\/strong><\/p>\n\n<p>If you have previously-written code on your post or page, by this way, you can wrap your code in <code>&lt;pre&gt;<\/code> tag for 'SyntaxHighlighter'.<\/p>\n\n<ol>\n<li>With the mouse, select and highlight your code where you want to aplly \"SyntaxHighlighter\".<\/li>\n<li>Click \"pre\" button.<\/li>\n<li>Select language and options.<\/li>\n<li>Click \"Insert\" button.<\/li>\n<\/ol>\n\n<p><strong>Usage: To change language and options of previously-markuped code.<\/strong><\/p>\n\n<ol>\n<li>With the mouse, select and highlight your code.<\/li>\n<li>Click \"pre\" button.<\/li>\n<li>Change language and options.<\/li>\n<li>Click \"Update\" button.<\/li>\n<\/ol>\n\n<p><strong>Usage: To indent by tabs.<\/strong><\/p>\n\n<ol>\n<li>Just type tab in your code. But till your code is wrapped in <code>&lt;pre&gt;<\/code> tag, you can not type any tabs.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Q. I want to change language and options of previously-markuped code with \"pre\" button. But I can't select whole my code.<\/dt>\n<dd><p>A. You need not to select whole your code. It's enough to select first line of your code.<\/p><\/dd>\n<dt>Q. After the update to new version, Buttons do not work correctly.<\/dt>\n<dd><p>A. Old javascript files may be cached. Please clear your browser's cache or delete cached javascript files.<\/p><\/dd>\n<dt>Q. I get errors trying to check \"html-scripts box\".<\/dt>\n<dd><p>A. \"html-scripts\" option requires \"XML\" brush. However, some 'SyntaxHighlighter'-based plugins do not load \"XML\" brush by default. If you want this optiin, you should consider the use of \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-syntaxhighlighter\/\" title=\"WP SyntaxHighlighter\">WP SyntaxHighlighter<\/a>\".<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.7.8.4<\/h4>\n\n<ul>\n<li>Fix a bug: Can't change \"Using with\" option.<\/li>\n<\/ul>\n\n<h4>0.7.8.3<\/h4>\n\n<ul>\n<li>Fix a bug: Using bloginfo() in the wrong way.<\/li>\n<li>Fix a bug: A missing textdomains.<\/li>\n<\/ul>\n\n<h4>0.7.8.1<\/h4>\n\n<ul>\n<li>Fix a bug: TinyMCE \"code\" button can't handle sourcecodes including HTML entities(<code>&amp;amp;<\/code>, <code>&amp;lt;<\/code>, <code>&amp;gt;<\/code>, <code>&amp;quot;<\/code>, <code>&amp;#039<\/code>;) correctly.<\/li>\n<\/ul>\n\n<h4>0.7.8<\/h4>\n\n<ul>\n<li>Rewritten the codes for array definition.<\/li>\n<li>Changed setting data migration process.<\/li>\n<li>Fix a bug: When using code button, some browsers give extra line break.<\/li>\n<\/ul>\n\n<h4>0.7.7<\/h4>\n\n<ul>\n<li>Validating the setting values more closely.<\/li>\n<li>Added the icon before title block on the setting panel.<\/li>\n<li>Fix a bug: The setting data migration processing can't work concurrently with auto-update.<\/li>\n<li>Fix a bug: A error message don't be translated.<\/li>\n<\/ul>\n\n<h4>0.7.5<\/h4>\n\n<ul>\n<li>Support WP SyntaxHighlighter ver. 1.5.5 or higher.<\/li>\n<li>Checking if the current request carries a valid nonce when settings are saved or reset.<\/li>\n<li>Validating the setting value before saved.<\/li>\n<li>Changed line feed codes to LF.(except text files) The line feed codes were CR\/LF in the many of files.<\/li>\n<li>Changed the method of displaying the notice message for admin.<\/li>\n<li>Changed the processing method when plugin is updated.<\/li>\n<li>Using dirname() and plugin_basename() instead of hardcoded directory name.<\/li>\n<li>Changed directory name stored translation files.<\/li>\n<\/ul>\n\n<h4>0.7.2<\/h4>\n\n<ul>\n<li>Fix a bug: \"Insert\" function of \"pre\" button does not work in the fullscreen mode.<\/li>\n<\/ul>\n\n<h4>0.7.1<\/h4>\n\n<ul>\n<li>New fullscreen mode in WordPress 3.2 or higher was also supported.<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>Added the \"Dafault languages settings for your buttons\" options.<\/li>\n<li>Added \"Reset All Settings\" button into the setting panel.<\/li>\n<li>All setting value are stored in the associative arrays.<\/li>\n<li>Changed processing code for creating buttons.<\/li>\n<li>Changed the method to add javascript into setting panel.<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Added the option to choose pop-up windows size.<\/li>\n<li>Changed the method to get plugin directory url.<\/li>\n<li>\"Secondary mode\" is fully integrated into \"Normal mode\" and removed.<\/li>\n<\/ul>\n\n<h4>0.5.7<\/h4>\n\n<ul>\n<li>Changed the method to get plugin directory url.<\/li>\n<\/ul>\n\n<h4>0.5.6<\/h4>\n\n<ul>\n<li>Removed \"sh-tinymce-button-ins-2nd.php\" and \"sh-tinymce-button-box-2nd.php\".<\/li>\n<li>\"Secondary mode\" integrated into \"Normal mode\".<\/li>\n<li>Changed the method to get plugin directory url in \"Secondary mode\".<\/li>\n<\/ul>\n\n<h4>0.5.5<\/h4>\n\n<ul>\n<li>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.<\/li>\n<li>Added \"System Info\" in setting panel.<\/li>\n<li>Changed processing code for \"Secondary mode\".<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Can choose TinyMCE toolbar row which buttons will be placed in.<\/li>\n<li>New operating modes optimized for \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntaxhighlighter\/\" title=\"SyntaxHighlighter Evolved\">SyntaxHighlighter Evolved<\/a>\".<\/li>\n<li>Added \"Secondary mode\" for troubleshoot.<\/li>\n<li>Changed processing code for creating buttons.<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Optimized for \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-syntaxhighlighter\/\" title=\"WP SyntaxHighlighter ver. 1.2.3 or higher\">WP SyntaxHighlighter ver. 1.2.3 or higher<\/a>\".<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Added operating modes optimized for \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-syntaxhighlighter\/\" title=\"WP SyntaxHighlighter\">WP SyntaxHighlighter<\/a>\" and \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/syntax-highlighter-compress\/\" title=\"Syntax Highlighter Compress\">Syntax Highlighter Compress<\/a>\".<\/li>\n<li>Added new options to popup window at the click of \"pre\" and \"CODE\" button.<\/li>\n<li>Fix a bug: \"CODE\" button does not work in fullscreen mode.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Added new options to popup window at the click of \"pre\" and \"CODE\" button.<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>The priority of a function hooked has been changed for \"<a href=\"http:\/\/wordpress.org\/extend\/plugins\/auto-syntaxhighlighter\/\" title=\"Auto SyntaxHighlighter\">Auto SyntaxHighlighter<\/a>\".<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Simplified codes related to processing tabfocus.<\/li>\n<li>Modified Japanese translation(modified \"shtb_adv_lang-ja.mo\" file).<\/li>\n<li>Translation of button labels on TinyMCE popup window has been completed.<\/li>\n<li>layout of buttons on TinyMCE popup window has been changed.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added \"CODE\" button which allows to paste sourcecode into post or page, keeping indent by tab.<\/li>\n<li>Enable to change language and options of previously-markuped code.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>This is the first version.<\/li>\n<\/ul>","raw_excerpt":"&quot;SyntaxHighlighter TinyMCE Button&quot; provides buttons for Visual Editor and will help to type &lt;pre&gt; tag for SyntaxHighlighter.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/13098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=13098"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/redcocker"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=13098"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=13098"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=13098"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=13098"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=13098"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=13098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}