{"id":35555,"date":"2015-04-07T13:12:41","date_gmt":"2015-04-07T13:12:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/tinymce-code-formatting\/"},"modified":"2015-04-14T17:59:50","modified_gmt":"2015-04-14T17:59:50","slug":"tinymce-code-formatting","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/tinymce-code-formatting\/","author":14342587,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"4.1.42","requires":"4.1","requires_php":"","requires_plugins":"","header_name":"TinyMCE Code Formatting","header_author":"mortalis","header_description":"","assets_banners_color":"eee3d8","last_updated":"2015-04-14 17:59:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":80,"downloads":4013,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1129617","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1129617","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1129557","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1129557","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1129557","resolution":"3","location":"assets"}},"screenshots":{"1":"The buttons in the default TinyMCE editor.","2":"The buttons with the TinyMCE Advanced plugin activated.","3":"Plugin options page allows to select custom shortcuts."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[485,1332,1975,2866,1719],"plugin_category":[46],"plugin_contributors":[81898],"plugin_business_model":[],"class_list":["post-35555","plugin","type-plugin","status-publish","hentry","plugin_tags-button","plugin_tags-editor","plugin_tags-formatting","plugin_tags-shortcut","plugin_tags-tinymce","plugin_category-editor-and-writing","plugin_contributors-mortalis","plugin_committers-mortalis"],"banners":{"banner":"https:\/\/ps.w.org\/tinymce-code-formatting\/assets\/banner-772x250.png?rev=1129617","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/tinymce-code-formatting\/assets\/icon-128x128.png?rev=1129617","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/tinymce-code-formatting\/assets\/screenshot-1.png?rev=1129557","caption":"The buttons in the default TinyMCE editor."},{"src":"https:\/\/ps.w.org\/tinymce-code-formatting\/assets\/screenshot-2.png?rev=1129557","caption":"The buttons with the TinyMCE Advanced plugin activated."},{"src":"https:\/\/ps.w.org\/tinymce-code-formatting\/assets\/screenshot-3.png?rev=1129557","caption":"Plugin options page allows to select custom shortcuts."}],"raw_content":"<!--section=description-->\n<p>The <strong>Pre<\/strong> button toggles the preformatted style on the selected text or the current line (applies <code>&lt;pre&gt;<\/code> tag to blocks).<br \/>\nThe <strong>Code<\/strong> button toggles the code style on the selected text or the current word (applies <code>&lt;code&gt;<\/code> tag to inline elements).<\/p>\n\n<p>The default shortcuts for the buttons are:<\/p>\n\n<ul>\n<li>Ctrl+Q - Pre<\/li>\n<li>Ctrl+D - Code<\/li>\n<\/ul>\n\n<p>In the admin <strong>Settings submenu<\/strong> it's possible to <strong>change<\/strong> these shortcuts.<br \/>\nPress a key combination in the text fields with the <strong>Ctrl<\/strong> key included and the text will be filled automatically. Or you can type it manually.<\/p>\n\n<p>Some combinations may <em>conflict<\/em> with the <em>default<\/em> editor or browser shortcuts.<br \/>\nSo check them on your instance.<\/p>\n\n<p>You may use these types of shortcuts:<\/p>\n\n<ul>\n<li><code>Ctrl+B, .., Z (except AXCV)<\/code><\/li>\n<li><code>Ctrl+0, .., 9<\/code><\/li>\n<li><code>Ctrl+[symbols] (-=`[];'\\\/,.)<\/code><\/li>\n<li><code>Ctrl+F1, .., F12<\/code><\/li>\n<li><code>Ctrl+Pad0, .., Pad9<\/code><\/li>\n<li><code>Ctrl+Pad\/, Pad*, Pad+, Pad.<\/code><\/li>\n<li><code>Ctrl+Shift+...<\/code><\/li>\n<li><code>Ctrl+Alt+...<\/code><\/li>\n<li><code>Ctrl+Shift+Alt+...<\/code><\/li>\n<\/ul>\n\n<p>This plugin GitHub repository: https:\/\/github.com\/mortalis13\/tinymce-code-formatting.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>tinymce-pre-button<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>","raw_excerpt":"Adds the Pre and Code buttons to the TinyMCE toolbar with customizable shortcuts","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/35555","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=35555"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mortalis"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=35555"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=35555"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=35555"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=35555"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=35555"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=35555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}