{"id":73750,"date":"2017-08-25T04:06:03","date_gmt":"2017-08-25T04:06:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/codemirror-wp\/"},"modified":"2017-09-13T00:35:23","modified_gmt":"2017-09-13T00:35:23","slug":"better-code-editing","status":"closed","type":"plugin","link":"https:\/\/es-mx.wordpress.org\/plugins\/better-code-editing\/","author":10224560,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.7.0","stable_tag":"0.7.0","tested":"4.9.29","requires":"4.7","requires_php":"","requires_plugins":"","header_name":"Better Code Editing (formerly CodeMirror WP)","header_author":"The WordPress Team","header_description":"Code highlighting and linting, powered by CodeMirror.","assets_banners_color":"","last_updated":"2017-09-13 00:35:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/better-code-editing\/","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":20,"downloads":17247,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-256.png":{"filename":"icon-256.png","revision":"1720408","resolution":"256","location":"assets"},"icon.svg":{"filename":"icon.svg","revision":"1720408","resolution":"","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.6.0","0.7.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[60],"plugin_tags":[2224,145498,7526],"plugin_category":[],"plugin_contributors":[77528,80702,77566,78438,77594],"plugin_business_model":[],"class_list":["post-73750","plugin","type-plugin","status-closed","hentry","plugin_section-beta","plugin_tags-codemirror","plugin_tags-linting","plugin_tags-syntax-highlighter","plugin_contributors-georgestephanis","plugin_contributors-melchoyce","plugin_contributors-obenland","plugin_contributors-westonruter","plugin_contributors-wordpressdotorg","plugin_committers-melchoyce","plugin_committers-obenland","plugin_committers-westonruter"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/better-code-editing\/assets\/icon.svg?rev=1720408","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/better-code-editing.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This project is adding CodeMirror functionality to the Plugin and Theme file editors, as well as the Customizer Custom CSS box and the Custom HTML widget.<\/p>\n\n<p>We're working around discussion on a Core ticket, <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/12423\">#12423<\/a><\/p>\n\n<p>Any questions, reach out to #core-customize on WordPress.org Slack or better open an issue on GitHub! See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/blob\/master\/contributing.md\">contributing<\/a>.<\/p>\n\n<p><strong>Development of this plugin is done <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\">on GitHub<\/a>. Pull requests welcome. Please see <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\">issues<\/a> reported there.<\/strong><\/p>\n\n<!--section=changelog-->\n<h4>0.7.0 - 2017-09-12<\/h4>\n\n<ul>\n<li>Create minified bundles for CodeMirror assets. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/92\">#92<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/71\">#71<\/a>.<\/li>\n<li>Fix tabbing backward when Additional CSS section description is expanded, to focus on Close link instead of Help toggle. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/91\">#91<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/90\">#90<\/a>.<\/li>\n<\/ul>\n\n<h4>0.6.0 - 2017-09-08<\/h4>\n\n<ul>\n<li>Improve frequency for when linting error notifications are shown and remove some overly-strict rules. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/86\">#86<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/13\">#13<\/a>.<\/li>\n<li>Improve disabling of save button for Custom HTML widget. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/87\">#87<\/a>.<\/li>\n<li>Enable search addon so that attempting to do a find inside the editor will search contents of file and not use browser find dialog. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/76\">#76<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/75\">#75<\/a>.<\/li>\n<li>Auto-show Custom CSS section description when value is empty, add close link to bottom of description, and remove default placeholder value for Custom CSS field. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/84\">#84<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/79\">#79<\/a> and <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/39892\">core#39892<\/a>.<\/li>\n<li>Improve passing of linting rulesets to CodeMirror and update CodeMirror to 5.29.1-alpha. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/59\">#59<\/a>.<\/li>\n<li>Merge <code>wp_code_editor_settings()<\/code> into <code>wp_enqueue_code_editor()<\/code>. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/81\">#81<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/55\">#55<\/a>.<\/li>\n<li>Add support for RTL languages. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/80\">#80<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/72\">#72<\/a>.<\/li>\n<li>Add admin notice to instruct <code>npm install<\/code> when plugin installed from source. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/74\">#74<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/73\">#73<\/a>.<\/li>\n<li>Update dev-lib to use local tools and add PHPCompatibility sniffs. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/82\">#82<\/a>.<\/li>\n<li>See full commit log and diff: <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/compare\/0.5.0...0.6.0\">0.5.0...0.6.0<\/a>.<\/li>\n<\/ul>\n\n<h4>0.5.0 - 2017-08-30<\/h4>\n\n<ul>\n<li>Prevent saving when lint errors present. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/69\">#69<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/69\">#69<\/a>.<\/li>\n<li>Remove unused assets; register likely-used assets; allow recognized file types to be edited; allow passing type when getting settings in addition to file. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/66\">#66<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/4\">#4<\/a>.<\/li>\n<li>Add recognition for JSON mode.<\/li>\n<li>Align styling matchbracket with matchtag. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/63\">#63<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/56\">#56<\/a>.<\/li>\n<li>Redesign warning\/error messages. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/62\">#62<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/44\">#44<\/a>, <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/45\">#45<\/a>.<\/li>\n<li>Improve help text in widgets admin screen and Additional CSS in Customizer. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/65\">#65<\/a>. Fixes <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/36\">#36<\/a>.<\/li>\n<li>Add <code>wp_enqueue_code_editor<\/code> action. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/68\">#68<\/a>.<\/li>\n<li>See full commit log and diff: <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/compare\/0.4.0...0.5.0\">0.4.0...0.5.0<\/a><\/li>\n<\/ul>\n\n<h4>0.4.0 - 2017-08-28<\/h4>\n\n<ul>\n<li>Enable addon many goodies to improve UX and reduce accidental errors. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/52\">#52<\/a>.<\/li>\n<li>Add autocomplete hinting. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/51\">#51<\/a> and <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/50\">#50<\/a>.<\/li>\n<li>Improve mixed-mode autocomplete hints, including PHP. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/58\">#58<\/a>.<\/li>\n<li>Configure HTMLHint including KSES rule. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/47\">#47<\/a>.<\/li>\n<li>Configure JSHint with same rules as core. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/46\">#46<\/a>.<\/li>\n<li>Limit CSSLint rules. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/38\">#38<\/a> and <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/26\">#26<\/a>.<\/li>\n<li>Add tab trap escaping for CodeMirror in Custom HTML widget and theme\/plugin editors. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/43\">#43<\/a> and <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/37\">#37<\/a>.<\/li>\n<li>Rename codemirror-wp to better-code-editing. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/42\">#42<\/a>.<\/li>\n<li>Add plugin icon. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/40\">#40<\/a>.<\/li>\n<li>Fix errors on small screens. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/39\">#39<\/a> and <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/11\">#11<\/a>.<\/li>\n<li>Refactor plugin class into include files to facilitate core patch creation. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/54\">#54<\/a>.<\/li>\n<li>Add admin notice when plugin is obsolete. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/57\">#57<\/a>.<\/li>\n<li>Upgrade CodeMirror to 5.29.0.<\/li>\n<li>See full commit log and diff: <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/compare\/0.3.0...0.4.0\">0.3.0...0.4.0<\/a><\/li>\n<\/ul>\n\n<h4>0.3.0 - 2017-08-18<\/h4>\n\n<ul>\n<li>Enable line-wrapping and constrain width for file editor to match <code>textarea<\/code>. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/33\">#33<\/a>, <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/5\">#5<\/a>, <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/32\">#32<\/a>.<\/li>\n<li>Improve accessibility of CodeMirror in Customizer's Additional CSS, including escape method from Tab trap. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/34\">#34<\/a> and <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/issues\/29\">#29<\/a>.<\/li>\n<li>Improve file organization to prepare for core merge.<\/li>\n<li>See full commit log and diff: <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/compare\/0.2.0...0.3.0\">0.2.0...0.3.0<\/a><\/li>\n<\/ul>\n\n<h4>0.2.0 - 2017-08-16<\/h4>\n\n<ul>\n<li>Add user setting for disabling Syntax Highlighting. See <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/pull\/31\">#31<\/a>.<\/li>\n<li>Improve release builds.<\/li>\n<li>See full commit log and diff: <a href=\"https:\/\/github.com\/WordPress\/better-code-editing\/compare\/0.1.0...0.2.0\">0.1.0...0.2.0<\/a><\/li>\n<\/ul>\n\n<h4>0.1.0 - 2017-08-14<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Adding CodeMirror functionality to the Plugin and Theme file editors, as well as the Customizer Custom CSS box and Custom HTML widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/73750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=73750"}],"author":[{"embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/melchoyce"}],"wp:attachment":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=73750"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=73750"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=73750"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=73750"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=73750"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=73750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}