{"id":17783,"date":"2012-04-18T11:13:06","date_gmt":"2012-04-18T11:13:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/html-editor-syntax-highlighter\/"},"modified":"2024-03-16T23:35:33","modified_gmt":"2024-03-16T23:35:33","slug":"html-editor-syntax-highlighter","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/html-editor-syntax-highlighter\/","author":9282429,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.4.4","stable_tag":"2.4.4","tested":"6.5.0","requires":"4.0","requires_php":"","requires_plugins":null,"header_name":"HTML Editor Syntax Highlighter","header_author":"James Bradford","header_description":"","assets_banners_color":"7c8083","last_updated":"2024-03-16 23:35:33","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/mukhortov\/5","header_plugin_uri":"","header_author_uri":"http:\/\/bradford.digital\/","rating":4.4,"author_block_rating":0,"active_installs":50000,"downloads":590843,"num_ratings":110,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.2.1":{"tag":"1.2.1","author":"nixdns","date":"2013-02-09 07:58:26"},"1.3.0":{"tag":"1.3.0","author":"nixdns","date":"2013-02-09 08:20:19"},"1.3.1":{"tag":"1.3.1","author":"nixdns","date":"2013-10-19 07:05:00"},"1.3.2":{"tag":"1.3.2","author":"nixdns","date":"2013-10-26 10:31:27"},"1.4.0":{"tag":"1.4.0","author":"nixdns","date":"2013-11-02 12:11:43"},"1.4.1":{"tag":"1.4.1","author":"nixdns","date":"2013-11-04 06:33:12"},"1.4.2":{"tag":"1.4.2","author":"nixdns","date":"2013-11-04 20:05:10"},"1.4.3":{"tag":"1.4.3","author":"nixdns","date":"2013-11-09 12:47:58"},"1.4.4":{"tag":"1.4.4","author":"nixdns","date":"2013-12-03 21:45:03"},"1.4.6":{"tag":"1.4.6","author":"nixdns","date":"2014-03-30 13:26:30"},"1.4.7":{"tag":"1.4.7","author":"nixdns","date":"2014-04-05 08:48:43"},"1.4.8":{"tag":"1.4.8","author":"nixdns","date":"2014-04-18 17:12:01"},"1.5.0":{"tag":"1.5.0","author":"nixdns","date":"2014-04-21 19:32:06"},"1.6.0":{"tag":"1.6.0","author":"nixdns","date":"2014-05-09 10:45:47"},"1.6.1":{"tag":"1.6.1","author":"nixdns","date":"2014-10-11 13:12:21"},"1.6.2":{"tag":"1.6.2","author":"nixdns","date":"2014-10-12 17:18:16"},"1.6.3":{"tag":"1.6.3","author":"nixdns","date":"2014-10-15 18:01:08"},"1.6.4":{"tag":"1.6.4","author":"nixdns","date":"2015-03-27 20:39:06"},"1.6.5":{"tag":"1.6.5","author":"nixdns","date":"2015-03-28 12:44:51"},"1.6.6":{"tag":"1.6.6","author":"nixdns","date":"2015-04-01 19:22:02"},"1.6.7":{"tag":"1.6.7","author":"nixdns","date":"2015-04-10 19:08:01"},"1.6.8":{"tag":"1.6.8","author":"nixdns","date":"2015-09-10 19:38:06"},"1.6.9":{"tag":"1.6.9","author":"nixdns","date":"2015-10-03 10:30:30"},"1.7.0":{"tag":"1.7.0","author":"nixdns","date":"2016-05-28 18:41:45"},"1.7.1":{"tag":"1.7.1","author":"nixdns","date":"2016-06-14 18:55:33"},"1.7.2":{"tag":"1.7.2","author":"nixdns","date":"2016-06-16 17:13:34"},"2.0.0":{"tag":"2.0.0","author":"arniebradfo","date":"2017-06-02 00:29:17"},"2.0.1":{"tag":"2.0.1","author":"arniebradfo","date":"2017-07-20 04:03:04"},"2.1.0":{"tag":"2.1.0","author":"arniebradfo","date":"2017-08-15 04:19:33"},"2.2.0":{"tag":"2.2.0","author":"arniebradfo","date":"2017-09-01 03:42:33"},"2.2.1":{"tag":"2.2.1","author":"arniebradfo","date":"2017-09-01 22:43:22"},"2.2.2":{"tag":"2.2.2","author":"arniebradfo","date":"2017-09-05 00:05:41"},"2.2.3":{"tag":"2.2.3","author":"arniebradfo","date":"2018-01-13 20:45:29"},"2.2.4":{"tag":"2.2.4","author":"arniebradfo","date":"2018-09-14 07:58:14"},"2.2.5":{"tag":"2.2.5","author":"arniebradfo","date":"2018-10-04 14:41:07"},"2.2.6":{"tag":"2.2.6","author":"arniebradfo","date":"2018-12-13 10:39:49"},"2.3.0":{"tag":"2.3.0","author":"arniebradfo","date":"2019-01-17 00:05:24"},"2.3.1":{"tag":"2.3.1","author":"arniebradfo","date":"2019-01-17 17:43:24"},"2.3.2":{"tag":"2.3.2","author":"arniebradfo","date":"2019-03-05 20:43:37"},"2.3.3":{"tag":"2.3.3","author":"arniebradfo","date":"2019-03-13 05:12:44"},"2.3.4":{"tag":"2.3.4","author":"arniebradfo","date":"2019-03-13 05:12:44"},"2.3.5":{"tag":"2.3.5","author":"arniebradfo","date":"2019-03-13 05:12:44"},"2.4.0":{"tag":"2.4.0","author":"arniebradfo","date":"2019-03-13 05:14:43"},"2.4.1":{"tag":"2.4.1","author":"arniebradfo","date":"2019-03-14 18:06:46"},"2.4.2":{"tag":"2.4.2","author":"arniebradfo","date":"2019-07-06 23:35:18"},"2.4.3":{"tag":"2.4.3","author":"arniebradfo","date":"2021-09-06 19:12:49"},"2.4.4":{"tag":"2.4.4","author":"arniebradfo","date":"2024-03-16 23:35:33"}},"upgrade_notice":[],"ratings":{"1":5,"2":5,"3":7,"4":14,"5":79},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2013780,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2013780,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2013780,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2013780,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2013780,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.1","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.6","1.4.7","1.4.8","1.5.0","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.7.0","1.7.1","1.7.2","2.0.0","2.0.1","2.1.0","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2013780,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2013780,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2013780,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2013783,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2013783,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2013783,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":2044788,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"Syntax highlighting in the Classic Post\/Page HTML editor.","2":"Quick Settings Panel.","3":"Advanced Settings Panel.","4":"Syntax highlighting in the Theme\/Plugin editor.","5":"Example code highlighting."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[141877,4443,2224,7526,29340],"plugin_category":[46],"plugin_contributors":[79149,79151,79148,79150],"plugin_business_model":[],"class_list":["post-17783","plugin","type-plugin","status-publish","hentry","plugin_tags-code-coloring","plugin_tags-code-highlighter","plugin_tags-codemirror","plugin_tags-syntax-highlighter","plugin_tags-text-editor","plugin_category-editor-and-writing","plugin_contributors-arniebradfo","plugin_contributors-collinprice","plugin_contributors-nixdns","plugin_contributors-rraub","plugin_committers-arniebradfo","plugin_committers-nixdns"],"banners":{"banner":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/banner-772x250.png?rev=2013780","banner_2x":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/banner-1544x500.png?rev=2013780","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/icon.svg?rev=2013780","icon":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/icon.svg?rev=2013780","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/screenshot-1.png?rev=2013780","caption":"Syntax highlighting in the Classic Post\/Page HTML editor."},{"src":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/screenshot-2.png?rev=2013780","caption":"Quick Settings Panel."},{"src":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/screenshot-3.png?rev=2013780","caption":"Advanced Settings Panel."},{"src":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/screenshot-4.png?rev=2013783","caption":"Syntax highlighting in the Theme\/Plugin editor."},{"src":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/screenshot-5.png?rev=2013783","caption":"Example code highlighting."},{"src":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/screenshot-6.png?rev=2013783","caption":""},{"src":"https:\/\/ps.w.org\/html-editor-syntax-highlighter\/assets\/screenshot-7.png?rev=2044788","caption":""}],"raw_content":"<!--section=description-->\n<p>Add syntax highlighting in the Classic Post &amp; Page HTML text editor, Gutenberg Code Editor, and Theme &amp; Plugin editors using CodeMirror.js<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Syntax highlighting in the Post\/Page HTML editor<\/li>\n<li><em>NEW:<\/em> Syntax highlighting in the Gutenberg <em>Code Editor<\/em> (not <em>Visual Editor<\/em>)<\/li>\n<li>Syntax highlighting in the Theme &amp; Plugin editors<\/li>\n<li>Syntax highlighting for WordPress <code>[shortcodes\/]<\/code><\/li>\n<li>Save your posts and pages pressing <code>Ctrl+S<\/code> (<code>Cmd+S<\/code> on Mac)<\/li>\n<li>Restore cursor position after page is reloaded<\/li>\n<li>Huge selection of themes and other customization options<\/li>\n<li>Fullscreen mode: toggle with <code>F11<\/code>\/<code>Esc<\/code> hotkeys<\/li>\n<\/ul>\n\n<p>If you would like to contribute to this plugin, view the <a href=\"https:\/\/github.com\/mukhortov\/HESH-WordPress-Plugin\">github repo<\/a>.<\/p>\n\n<p>If you're a regular user of this plugin, please consider taking a short <a href=\"https:\/\/goo.gl\/forms\/xvaHgd7sZEbBbFAL2\">User Experience Survey<\/a> to provide feedback that will help shape the new version 3.0.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20it%20work%20with%20gutenberg%3F'><h3>Does it work with Gutenberg?<\/h3><\/dt>\n<dd><p><strong>Yes!<\/strong> <em>Partially...<\/em> Since version 2.3.0, it works with the Gutenberg <em>Code Editor<\/em>, but only the <em>Code Editor<\/em>, not the <em>Visual Editor<\/em>. Press <code>Ctrl+Shift+Alt+M<\/code> \/ <code>Cmd+Shift+Alt+M<\/code> to switch between the <em>Visual Editor<\/em> and the <em>Code Editor<\/em>.<\/p>\n\n<p>It <strong>does not<\/strong> work with blocks in the Gutenberg <em>Visual Editor<\/em>. This means it <strong>does not<\/strong> highlight code in:\n* The <em>Edit as HTML<\/em> section of every block\n* The <em>Custom HTML<\/em> block\n* The <em>Shortcode<\/em> block\nSee the last screenshot for a visual example.<\/p>\n\n<p>It may work with other code related parts of Gutenberg in the future. <a href=\"https:\/\/github.com\/mukhortov\/HESH-WordPress-Plugin\/issues\/72\">Track the progress here.<\/a><\/p><\/dd>\n<dt id='how%20do%20i%20get%20the%20classic%20editor%20back%21%3F'><h3>How do I get the Classic Editor back!?<\/h3><\/dt>\n<dd><p>Since WordPress version 5.0, Gutenberg is the default editor. If you want this plugin to work the way it used to, you'll have to download the <a href=\"https:\/\/wordpress.org\/plugins\/classic-editor\/\">Classic Editor plugin<\/a>.<\/p><\/dd>\n<dt id='can%20i%20search%20and%20replace%3F'><h3>Can I search and replace?<\/h3><\/dt>\n<dd><p><strong>Function: WINDOWS \/ MAC<\/strong>\n<strong>Start searching:<\/strong>   <code>Ctrl-F<\/code> \/ <code>Cmd-F<\/code>\n<strong>Find next:<\/strong>         <code>Ctrl-G<\/code> \/ <code>Cmd-G<\/code>\n<strong>Find previous:<\/strong>     <code>Shift-Ctrl-G<\/code> \/ <code>Shift-Cmd-G<\/code>\n<strong>Replace:<\/strong>           <code>Shift-Ctrl-F<\/code> \/ <code>Cmd-Opt-F<\/code>\n<strong>Replace all:<\/strong>       <code>Shift-Ctrl-R<\/code> \/ <code>Shift-Cmd-Opt-F<\/code>\n<strong>Persistent search:<\/strong> <code>Alt-F<\/code> (dialog doesn't auto-close, <code>Enter<\/code> to find next, <code>Shift-Enter<\/code> to find previous)\n<strong>Jump to line:<\/strong>      <code>Alt-G<\/code><\/p><\/dd>\n<dt id='why%20are%20p%20and%20br%20tags%20are%20being%20removed%3F'><h3>Why are p and br tags are being removed?<\/h3><\/dt>\n<dd><p>Wordpress has a feature called the <em><a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/wpautop\">'auto p'<\/a><\/em> filter which:<\/p>\n\n<blockquote>\n  <p>\"Changes double line-breaks in the text into HTML paragraphs.\"<\/p>\n<\/blockquote>\n\n<p>For example, <em>auto p<\/em> will take some standard post content like this:<\/p>\n\n<pre><code>Some long text\nthat has many lines.\n\nAnd paragraphs in it.\n<\/code><\/pre>\n\n<p>and turn it into something like this:<\/p>\n\n<pre><code>&lt;p&gt;Some long text&lt;br\/&gt;\nthat has many lines&lt;\/p&gt;\n&lt;p&gt;And paragraphs in it.&lt;\/p&gt;\n<\/code><\/pre>\n\n<p>Like your little brother, it thinks it\u2019s helping, even if it isn\u2019t.<\/p>\n\n<p><strong>What can I do about it?<\/strong>\n* <strong>Disable auto p:<\/strong> There are several plugins you can use to disable <em>auto p<\/em> in the <em>Classic Editor<\/em>. I\u2019d recommend <a href=\"https:\/\/wordpress.org\/plugins\/toggle-wpautop\/\">Toggle wpautop<\/a>.\n* <strong>Show the p tags:<\/strong> The plugin <a href=\"https:\/\/wordpress.org\/plugins\/tinymce-advanced\/\">TinyMCE Advanced<\/a> has an <em>Advanced Option<\/em> to <em>'Keep paragraph tags'<\/em>. This option will still add the <em>\"auto p\"<\/em> tags but won't strip them out of the visible code.<\/p>\n\n<p>You can read more about this issues this may cause in this <a href=\"https:\/\/wordpress.org\/support\/topic\/tags-being-stripped-in-classic-block-content-after-wp-upgrade\/\">support thread<\/a>.<\/p><\/dd>\n<dt id='why%20is%20my%20code%20is%20being%20reformatting%20when%20i%20switch%20to%20the%20visual%20editor%20and%20back%3F'><h3>Why is my code is being reformatting when I switch to the Visual Editor and back?<\/h3><\/dt>\n<dd><p>The WordPress <em>Visual Editor<\/em> needs to reformat code in order to function correctly. This is not something that this plugin can fix. <strong>You can disable the Visual Editor entirely<\/strong> by going to: <em>Users<\/em> &gt; <em>Your Profile<\/em> &gt; <em>Visual Editor: check 'Disable the visual editor when writing'<\/em>.<\/p><\/dd>\n<dt id='scrollbars%20are%20not%20appearing%21%20%2F%20scroll%20position%20is%20not%20reset%21%20%2F%20code%20window%20is%20not%20resizable%21'><h3>Scrollbars are not appearing! \/ Scroll position is not reset! \/ Code window is not resizable!<\/h3><\/dt>\n<dd><p>You may have the <em>'Enable full-height editor and distraction-free functionality'<\/em> turned on. This is a native WordPress feature that changes the scrolling and fullscreen behavior of both the <em>Code Editor<\/em> and <em>Visual Editor<\/em>.<\/p>\n\n<p><strong>To Disable Full-height Editor:<\/strong> Go to <em>'Screen Options'<\/em> (in the top right of the editor page), then uncheck <em>'Enable full-height editor and distraction-free functionality'<\/em> in the <em>Additional Settings<\/em> section.<\/p><\/dd>\n<dt id='how%20do%20i%20use%20fullscreen%3F'><h3>How do I use Fullscreen?<\/h3><\/dt>\n<dd><p>The fullscreen button on the top right of the editor will do one of two things depending on the <em>'Enable full-height editor and distraction-free functionality'<\/em> setting in your <em>'Screen Options'<\/em> (in the top right of the editor page):\n* <strong>Full-height Editor <em>Enabled<\/em>:<\/strong> Toggles the <em>'distraction free mode'<\/em>.\n* <strong>Full-height Editor <em>Disabled<\/em>:<\/strong> Toggles the <em>'fullscreen mode'<\/em>.<\/p>\n\n<p><strong>Keybindings:<\/strong> <code>F11<\/code> will toggle fullscreen on and off, and <code>esc<\/code> will close fullscreen.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20internet%20explorer%3F'><h3>Does it work with Internet Explorer?<\/h3><\/dt>\n<dd><p><strong>Not really...<\/strong> It is partially supported in IE 11. Known bugs are tracked <a href=\"https:\/\/github.com\/mukhortov\/HESH-WordPress-Plugin\/issues\/41\">here<\/a>, but won't be fixed. Anything less that IE 10 isn't even supported by Microsoft anymore. If you are using Internet Explorer you should get a <a href=\"https:\/\/www.mozilla.org\/en-US\/firefox\/new\/\">better browser<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.4.4<\/h4>\n\n<ul>\n<li>Added about 15 new themes<\/li>\n<\/ul>\n\n<h4>2.4.3<\/h4>\n\n<ul>\n<li>Updated css for wordpress v5.8<\/li>\n<\/ul>\n\n<h4>2.4.2<\/h4>\n\n<ul>\n<li>removing survey notice<\/li>\n<\/ul>\n\n<h4>2.4.1<\/h4>\n\n<ul>\n<li>fixed bug: notification would not dismiss if the visual editor was open<\/li>\n<li>fix bug: Setting Form can now submit from memory, not just when the dom is in the page.<\/li>\n<\/ul>\n\n<h4>2.4.0<\/h4>\n\n<ul>\n<li>updating a major number so I can review downloads more accurately.<\/li>\n<li>reorganized the codebase<\/li>\n<li>Reverting the name-change of <code>hesh.php<\/code>\nThis name-change of <code>html-editor-syntax-highlighter.php<\/code> to <code>hesh.php<\/code> caused the plugin to deactivate itself because the php file was missing. Reverting the name-change of <code>hesh.php<\/code> will cause this all over again, but hey.<\/li>\n<\/ul>\n\n<h4>2.3.5<\/h4>\n\n<ul>\n<li>remove Github Updater headers<\/li>\n<li>testing WP update Process<\/li>\n<\/ul>\n\n<h4>2.3.4<\/h4>\n\n<ul>\n<li>fixing typo <code>$this-&gt;$surveyLink<\/code> to <code>$this-&gt;surveyLink<\/code><\/li>\n<\/ul>\n\n<h4>2.3.3<\/h4>\n\n<ul>\n<li>Updated Release process<\/li>\n<li>Fix bug: #80 Only activate on pages where the editor will run<\/li>\n<li>Added UX survey notice.<\/li>\n<\/ul>\n\n<h4>2.3.2<\/h4>\n\n<ul>\n<li>added a seventh screenshot<\/li>\n<li>removed <a href=\"https:\/\/codemirror.net\/doc\/manual.html#option_smartIndent\"><code>smartIndent<\/code><\/a> because its annoying<\/li>\n<li>fixed gulp watch task<\/li>\n<li>updated FAQ<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Fixing JS error in issue #81 <em>(Hopefully?)<\/em><\/li>\n<li>Updating authorship so James can get a job. Will revert to Petr Later...<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Support for Gutenberg Code Editor!<\/li>\n<li>Added new themes: Codepen and Wordpress (which is now the default).<\/li>\n<li>Created new screenshots for the plugin page.<\/li>\n<li>New Logo based on <code>&lt;W\/&gt;<\/code>.<\/li>\n<li>Updated FAQ with Gutenberg info.<\/li>\n<li>Changed build steps to only export one <code>.css<\/code> and <code>.js<\/code> file<\/li>\n<\/ul>\n\n<h4>2.2.6<\/h4>\n\n<ul>\n<li>added Gutenberg information after the update to WordPress version 5.0<\/li>\n<\/ul>\n\n<h4>2.2.5<\/h4>\n\n<ul>\n<li>fixed bug: #75 removing <code>f<\/code> typo<\/li>\n<\/ul>\n\n<h4>2.2.4<\/h4>\n\n<ul>\n<li>fixed bug: Allow Multiple Instances of CodeMirror on a page #71<\/li>\n<li>fixed bug: js error when custom post type does not support 'editor' feature #62<\/li>\n<\/ul>\n\n<h4>2.2.3<\/h4>\n\n<ul>\n<li>A patch for WP 4.9. No more double editors in theme\/plugin editors.<\/li>\n<\/ul>\n\n<h4>2.2.2<\/h4>\n\n<ul>\n<li>fixed bug: github updater in production issue #52<\/li>\n<li>updated Codemirror to latest release version<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>fixed bug: editor was not stopping when switching between visual editor and text editor<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>added search &amp; replace with dialog<\/li>\n<li>added highlighting options<\/li>\n<li>added auto-close tags and brackets option<\/li>\n<li>added code-folding option<\/li>\n<li>added scrollbars option<\/li>\n<li>added keyMap options<\/li>\n<li>added <em>Default<\/em> and <em>None<\/em> themes<\/li>\n<li>fixed bug: made tab management agnostic to tab count and names - #50<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>added search<\/li>\n<li>add highlighting for <code>&lt;!--nextpage--&gt;<\/code><\/li>\n<li>fixed bug: Theme and Plugin Editor not working<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>fixed bug: esc key weirdness<\/li>\n<li>fixed bug: don't steal editor focus from title on <em>'Add New Post'<\/em><\/li>\n<li>fixed bug: scrollbar appears in middle of text editor<\/li>\n<li>fixed bug: toolbar can be too big<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>now adjusts to the <em>'Enable full-height editor and distraction-free functionality'<\/em> setting<\/li>\n<li>syntax highlighting on Theme and Plugin Editor pages<\/li>\n<li>fixed bug: native wp editor buttons work on content - no longer overwrites with emulating buttons<\/li>\n<li><strong>Settings:<\/strong>\n\n<ul>\n<li>added an extendable settings panel<\/li>\n<li>saves settings to WordPress user profile<\/li>\n<li>added more text customization settings<\/li>\n<\/ul><\/li>\n<li>basically rewrote the whole codebase<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>fixed bug: pre v5.4 php was causing an error - <code>func_that_returns_array()['index']<\/code> syntax is <a href=\"http:\/\/php.net\/manual\/en\/language.types.array.php#example-105\">not allowed<\/a><\/li>\n<li>fixed bug: CodeMirror not initializing properly when new user tries to edit post for the first time<\/li>\n<li>fixed bug: CodeMirror no longer trying to load on \"All Posts\" and \"All Pages\"<\/li>\n<li>fixed bug: Font and theme were reset to default when switching to the visual editor and back<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>fixed bug: return key would create two new lines and ignore indent<\/li>\n<li>fixed bug: wp native \"Add Media\" button was not working<\/li>\n<li>added version string to .css and .js resources for cache-busting purposes<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Ctrl-S \/ Cmd-S saving will now select \"Save Draft\" if the post has not been published yet<\/li>\n<li>Switched to an <a href=\"https:\/\/www.npmjs.com\/\">npm<\/a> and <a href=\"http:\/\/gruntjs.com\/\">grunt.js<\/a> based build so new versions of CodeMirror can be applied easier<\/li>\n<li>Updated CodeMirror to its latest version<\/li>\n<li>Fixed FireFox bug: <code>&lt;select&gt;<\/code> drop-down would not display due to <code>::active<\/code> state <code>transform<\/code> property<\/li>\n<li>Fixed bug: toolbar covering text at small screen width<\/li>\n<li>Fixed bug: <code>switchEditors is undefined<\/code><\/li>\n<li>Updated Css for wp 4.5<\/li>\n<li>Added all available CodeMirror themes<\/li>\n<li>Added syntax highlighting:\n\n<ul>\n<li>for WordPress shortcodes<\/li>\n<li>for <code>&lt;!--more--&gt;<\/code> tags and their variants<\/li>\n<li><em>NEW<\/em> CodeMirror modes: <code>shortcode.js<\/code> &amp; <code>wordpresspost.js<\/code><\/li>\n<\/ul><\/li>\n<li>Now calling <code>hesh.js<\/code> in an anonymous wrapper so it won't pollute the global namespace<\/li>\n<li>Now initializing <code>hesh.js<\/code> in an async compliant way<\/li>\n<li>Refactored php to enqueue javascript in the WordPress friendly way<\/li>\n<li>Tested with WordPress 4.5.2<\/li>\n<li>Tested in all modern desktop browsers on OSX and Windows 10<\/li>\n<\/ul>\n\n<h4>1.6.9<\/h4>\n\n<ul>\n<li>Fixed issues with switching editor modes in WP 4.3<\/li>\n<\/ul>\n\n<h4>1.6.7<\/h4>\n\n<ul>\n<li>Added paragraph tag button, it's visible only when the visual editor is disabled<\/li>\n<li>Added minimum editor window height for the full-height mode<\/li>\n<\/ul>\n\n<h4>1.6.6<\/h4>\n\n<ul>\n<li>Added minimum editor window height for the full-height mode<\/li>\n<\/ul>\n\n<h4>1.6.5<\/h4>\n\n<ul>\n<li>Fixes for full-height mode<\/li>\n<li>Fixed the issue with a hidden first line on smaller screens<\/li>\n<\/ul>\n\n<h4>1.6.4<\/h4>\n\n<ul>\n<li>Fixed the issue with a hidden first line on smaller screens<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>Fixed editor window height and resize handler<\/li>\n<li>\"headers already sent\" issue<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>Compatibility with WP 4.0<\/li>\n<li>Fixed fullscreen mode<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>You can change font size in the editor<\/li>\n<li>Fixed issue with restoring cursor position<\/li>\n<li>Updated CodeMirror library<\/li>\n<li>Some minor improvements<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Updated CodeMirror library<\/li>\n<li>Some minor improvements<\/li>\n<\/ul>\n\n<h4>1.4.8<\/h4>\n\n<ul>\n<li>Add Link button now works with page selector window<\/li>\n<li>Some minor improvements<\/li>\n<\/ul>\n\n<h4>1.4.7<\/h4>\n\n<ul>\n<li>You can now select Light or Dark editor colour theme<\/li>\n<\/ul>\n\n<h4>1.4.6<\/h4>\n\n<ul>\n<li>Fixed issue when \"Add Media\" button stopped working<\/li>\n<li>Fixed editor resize bug in Visual mode.<\/li>\n<\/ul>\n\n<h4>1.4.5<\/h4>\n\n<ul>\n<li>Bug fixing<\/li>\n<\/ul>\n\n<h4>1.4.4<\/h4>\n\n<ul>\n<li>Add Media button now works correctly in Text mode<\/li>\n<li>Fixed jumping cursor issue when \u2018:\u2019, '{', '}' keys are pressed<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Fixed jumping cursor issue when \u2018\/\u2019 key is pressed.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Fixed a focus bug<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Toggle fullscreen mode with F11\/Esc hotkeys<\/li>\n<li>Publish Post\/Page hotkeys Ctrl + S \/ Cmd + S<\/li>\n<li>Fixed some bugs for IE 8<\/li>\n<li>Added development files to the zip bundle<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>New fullscreen mode<\/li>\n<li>Remembers tab state<\/li>\n<li>Editor resize handler<\/li>\n<li>Code refactoring and minification for better loading performance<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Updated CodeMirror library<\/li>\n<li>Increased loading performance<\/li>\n<li>Match brackets<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>CodeMirror library updated to version 3.02<\/li>\n<li>Added quick-tags toolbar buttons<\/li>\n<li>Preserve the scroll position after update or page reload<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>vertical resize for the editing box (works on FireFox, Chrome, Safari).<\/li>\n<li>not working buttons\/tags was hidden<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<p>Bug fix:\n* plugin does not work in new post\/page.<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Bug fix (thanks to collinprice):\n* when user has the visual editor disabled this plugin does not show up.<\/p>\n\n<h4>1.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Add syntax highlighting to WordPress code editors using CodeMirror.js","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17783"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nixdns"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17783"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17783"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17783"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17783"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17783"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}