{"id":4045,"date":"2008-11-20T20:40:57","date_gmt":"2008-11-20T20:40:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/visual-code-editor\/"},"modified":"2010-03-05T01:51:10","modified_gmt":"2010-03-05T01:51:10","slug":"visual-code-editor","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/visual-code-editor\/","author":1323225,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.5","stable_tag":"1.2.5","tested":"2.9.2","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Visual Code Editor","header_author":"Jules Gravinese","header_description":"","assets_banners_color":"","last_updated":"2010-03-05 01:51:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.webveteran.com\/blog\/index.php\/visual-code-editor\/","header_author_uri":"http:\/\/www.webveteran.com\/","rating":0,"author_block_rating":0,"active_installs":70,"downloads":13260,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"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.1","1.1.1","1.2","1.2.1","1.2.2","1.2.3","1.2.5"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Coupled with the SyntaxHighlighter Plus plugin, you get results like the above.","2":"All you have to do is create a [sourcecode language=\"xxx\"][\/sourcecode] block, paste in your code, select the whole sourcecode block, then select Preformatted from Tiny's format menu. It should look like the above."}},"plugin_section":[],"plugin_tags":[18609,4609,1719,2796],"plugin_category":[],"plugin_contributors":[86021],"plugin_business_model":[],"class_list":["post-4045","plugin","type-plugin","status-closed","hentry","plugin_tags-code-snippets","plugin_tags-syntax-highlighting","plugin_tags-tinymce","plugin_tags-visual-editor","plugin_contributors-freelance-web-developer","plugin_committers-freelance-web-developer"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/visual-code-editor.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Visual Code Editor modifies WordPress's behavior so that code (programming code snippets) format is preserved when using the visual editor. It will work with any syntax highlighter that accepts encoded\/escaped syntax.<\/p>\n\n<ul>\n<li>Adds <code>&lt;pre&gt;<\/code> &amp; <code>&lt;code&gt;<\/code> to block format menu<\/li>\n<li>Allows extra attributes for compatibility in some syntax highlighters (ie, <code>&lt;pre lang=\"php\" line='5'&gt;<\/code>)<\/li>\n<li>Unescape WP's double escaping of &amp;<\/li>\n<li>Allows iFrames in the post<\/li>\n<li>Support for syntax highlighting in comments<\/li>\n<li>Removes extra  <code>&lt;pre&gt;<\/code> tags around SyntaxHighllighter Plus's [sourcecode] blocks<\/li>\n<\/ul>\n\n<h3>Change History<\/h3>\n\n<ul>\n<li>v1.2.5: Tested in WordPress 2.9.2 and with SyntaxHighlighter Evolved 2.3.8<\/li>\n<li>v1.2.4: Tested in WordPress 2.8.4<\/li>\n<li>v1.2.3: Tested in WordPress 2.7.1<\/li>\n<li>v1.2.2: Support for syntax highlighting in comments<\/li>\n<li>v1.2.1: Compatible with PHP4<\/li>\n<li>v1.2: Allows iFrames in the post<\/li>\n<li>v1.1: Removes extra <code>&lt;pre&gt;<\/code> tags around SyntaxHighllighter Plus's [sourcecode] blocks<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>Assuming you are using the SyntaxHighlighter Plus or SyntaxHighlighter Evolved plugin...<\/p>\n\n<ol>\n<li>In visual mode, create a [sourcecode language=\"xxx\"][\/sourcecode] block<\/li>\n<li>Select the sourcecode block<\/li>\n<li>Select Preformatted from TinyMCE's format menu<\/li>\n<li>Paste your code in between the [sourcecode\/] brackets<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Download and decompress the zip.<\/li>\n<li>Upload the <code>visual-code-editor<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>None at this time.<\/p>","raw_excerpt":"Visual Code Editor modifies WordPress&#039;s behavior so that syntax (programming code snippets) format is preserved when using the visual editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4045"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/freelance-web-developer"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4045"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4045"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4045"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4045"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4045"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}