{"id":19820,"date":"2012-09-07T03:45:31","date_gmt":"2012-09-07T03:45:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/syntaxhighlighter-ckeditor-button\/"},"modified":"2014-04-21T07:11:11","modified_gmt":"2014-04-21T07:11:11","slug":"syntaxhighlighter-ckeditor-button","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/syntaxhighlighter-ckeditor-button\/","author":8240999,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.2","stable_tag":"1.2.2","tested":"3.9.40","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"SyntaxHighlighter CKEditor Button","header_author":"Sola","header_description":"","assets_banners_color":"","last_updated":"2014-04-21 07:11:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.solagirl.net\/syntaxhighlighter-ckeditor-botton-plugin.html","header_author_uri":"http:\/\/www.solagirl.net","rating":0,"author_block_rating":0,"active_installs":80,"downloads":11426,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1","1.2","1.2.1","1.2.2"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1538920","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1538920","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1538920","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538920","resolution":"1","location":"plugin"}},"screenshots":{"1":"The code button in CKEditor","2":"The user interface for adding code","3":"Syntaxhighlighter in action","4":"What it looks like when a custom editor style is defined within CKEditor's advanced settings."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[14077,9662],"plugin_category":[],"plugin_contributors":[84178],"plugin_business_model":[],"class_list":["post-19820","plugin","type-plugin","status-publish","hentry","plugin_tags-ckeditor","plugin_tags-syntaxhighlighter","plugin_contributors-solagirl","plugin_committers-solagirl"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/syntaxhighlighter-ckeditor-button.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/syntaxhighlighter-ckeditor-button\/trunk\/screenshot-1.png?rev=1538920","caption":"The code button in CKEditor"},{"src":"https:\/\/ps.w.org\/syntaxhighlighter-ckeditor-button\/trunk\/screenshot-2.png?rev=1538920","caption":"The user interface for adding code"},{"src":"https:\/\/ps.w.org\/syntaxhighlighter-ckeditor-button\/trunk\/screenshot-3.png?rev=1538920","caption":"Syntaxhighlighter in action"},{"src":"https:\/\/ps.w.org\/syntaxhighlighter-ckeditor-button\/trunk\/screenshot-4.png?rev=1538920","caption":"What it looks like when a custom editor style is defined within CKEditor's advanced settings."}],"raw_content":"<!--section=description-->\n<p>This plugin provides an additional code button for WordPress CKEditor so that you can use syntaxhighlighter with CKEditor.<\/p>\n\n<p><a href=\"http:\/\/wordpress.org\/extend\/plugins\/ckeditor-for-wordpress\/\">CKEditor For WordPress<\/a> plugin replaces the default WordPress editor with CKEditor, while <a href=\"http:\/\/wordpress.org\/extend\/plugins\/auto-syntaxhighlighter\/\">Auto SyntaxHighlighter<\/a> plugin intergrates alexgorbatchev SyntaxHighlighter JavaScript package into WordPress but doesn't provide a code button for CKEditor. This is why I created the plugin.<\/p>\n\n<p>If you opt not to install Auto SyntaxHighlighter plugin, then your code will simply be wrapped with pre tag.<\/p>\n\n<p>Auto SyntaxHighlighter is not the only choice, there are plenty of plugins out there that integrate Alex Gorbatchev's SyntaxHighlighter into WordPress, choose as you like.<\/p>\n\n<p>Note: If you encounter any problem after upgrading please clear your browser's cache.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload this plugin to the '\/wp-content\/plugins\/' directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Make sure you have installed and activated CKEditor For WordPress and Auto SyntaxHighlighter plugin.<\/li>\n<li><p>To give the pre tag a special style in the visual editor, go to \"CKEditor-&gt;Advanced Settings\", set \"Editor CSS\" to be Define css, set \"CSS path\" to be <strong>http:\/\/yourdomain.com\/wp-content\/plugins\/syntaxhighlighter-ckeditor-button\/ckeditor.css<\/strong><strong>. Please replace <\/strong><strong>yourdomain.com<\/strong> with the real path of your \"WordPress Address\" defined in \"Setings-&gt;General\".<\/p><\/li>\n<li><p>Save the settings and enjoy.<\/p><\/li>\n<\/ol>\n\n<p>Note: If you encounter any problem after upgrading please clear your browser's cache.<\/p>\n\n<!--section=changelog-->\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Put all ckeditor's default style into ckeditor.css<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Make it compatible with the latest CKEditor For WordPress 4.0 plugin<\/li>\n<li>Code button is moved to the insert toolbar<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Compatible with CKEditor For WordPress 4.0 and WordPress 3.5<\/li>\n<li>Fix a bug when deactivating the plugin.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Imporove the admin notification method, using wp pointer<\/li>\n<li>Automatically remove the code button from ckeditor's settings upon deactivation.<\/li>\n<\/ul>","raw_excerpt":"This plugin adds a code button for WordPress CKEditor which helps to type or edit  tag for Alex Gorbatchev&#039;s SyntaxHighlighter.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19820"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/solagirl"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19820"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19820"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19820"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19820"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19820"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}