HTML Editor Syntax Highlighter

Wordpress Plugin
Download latest - 2.4.4

Developers

arniebradfo
nixdns

Download Stats

Today 103
Yesterday 161
Last Week 1,092
All Time 181,204
Banner 772x250

Add syntax highlighting in the Classic Post & Page HTML text editor, Gutenberg Code Editor, and Theme & Plugin editors using CodeMirror.js

Features

  • Syntax highlighting in the Post/Page HTML editor
  • NEW: Syntax highlighting in the Gutenberg Code Editor (not Visual Editor)
  • Syntax highlighting in the Theme & Plugin editors
  • Syntax highlighting for WordPress [shortcodes/]
  • Save your posts and pages pressing Ctrl+S (Cmd+S on Mac)
  • Restore cursor position after page is reloaded
  • Huge selection of themes and other customization options
  • Fullscreen mode: toggle with F11/Esc hotkeys

If you would like to contribute to this plugin, view the github repo.

If you're a regular user of this plugin, please consider taking a short User Experience Survey to provide feedback that will help shape the new version 3.0.


Releases (47 )

Version Release Date Change Log
2.4.4 2021-09-18
  • Added about 15 new themes
2.4.3 2021-09-06
  • Updated css for wordpress v5.8
2.4.2 2019-07-06
  • removing survey notice
2.4.1 2019-03-14
  • fixed bug: notification would not dismiss if the visual editor was open
  • fix bug: Setting Form can now submit from memory, not just when the dom is in the page.
2.4.0 2019-03-13
  • updating a major number so I can review downloads more accurately.
  • reorganized the codebase
  • Reverting the name-change of hesh.php This name-change of html-editor-syntax-highlighter.php to hesh.php caused the plugin to deactivate itself because the php file was missing. Reverting the name-change of hesh.php will cause this all over again, but hey.
2.3.3 2019-03-13
  • Updated Release process
  • Fix bug: #80 Only activate on pages where the editor will run
  • Added UX survey notice.
2.3.4 2019-03-13
2.3.5 2019-03-13
  • remove Github Updater headers
  • testing WP update Process
2.3.2 2019-03-05
  • added a seventh screenshot
  • removed smartIndent because its annoying
  • fixed gulp watch task
  • updated FAQ
2.3.1 2019-01-17
  • Fixing JS error in issue #81 (Hopefully?)
  • Updating authorship so James can get a job. Will revert to Petr Later...
2.3.0 2019-01-17
  • Support for Gutenberg Code Editor!
  • Added new themes: Codepen and Wordpress (which is now the default).
  • Created new screenshots for the plugin page.
  • New Logo based on <W/>.
  • Updated FAQ with Gutenberg info.
  • Changed build steps to only export one .css and .js file
2.2.6 2018-12-13
  • added Gutenberg information after the update to WordPress version 5.0
2.2.5 2018-10-04
  • fixed bug: #75 removing f typo
2.2.4 2018-09-14
  • fixed bug: Allow Multiple Instances of CodeMirror on a page #71
  • fixed bug: js error when custom post type does not support 'editor' feature #62
2.2.3 2018-01-13
2.2.2 2017-09-05
  • fixed bug: github updater in production issue #52
  • updated Codemirror to latest release version
2.2.1 2017-09-01
  • fixed bug: editor was not stopping when switching between visual editor and text editor
2.2.0 2017-09-01
  • added search & replace with dialog
  • added highlighing options
  • added auto-close tags and brackets option
  • added code-folding option
  • added scrollbars option
  • added keyMap options
  • added Default and None themes
  • fixed bug: made tab management agnostic to tab count and names - #50
2.1.0 2017-08-15
  • added search
  • add highlighting for <!--nextpage-->
  • fixed bug: Theme and Plugin Editor not working
2.0.1 2017-07-20
2.0.0 2017-06-02
  • now adjusts to the 'Enable full-height editor and distraction-free functionality' setting
  • syntax highlighting on Theme and Plugin Editor pages
  • fixed bug: native wp editor buttons work on content - no longer overwrites with emulating buttons
  • Settings:
    • added an extendable settings panel
    • saves settings to WordPress user profile
    • added more text customization settings
  • basically rewrote the whole codebase
1.7.2 2016-06-16
  • fixed bug: code mirror not initializing properly when new user tries to edit post for the first time
  • fixed bug: CodeMirror no longer trying to load on "All Post" and "All Pages"
  • fixed bug: Font and theme were reset to default when switching to the visual editor and back
1.7.1 2016-06-14
  • fixed bug: return key would create two new lines and ignore indent
  • fixed bug: wp native "Add Media" button was not working
  • added version string to .css and .js resources for cache-busting purposes
1.7.0 2016-05-28
  • Ctrl-S / Cmd-S saving will now select "Save Draft" if the post has not been published yet
  • Switched to an npm and grunt.js based build so new versions of CodeMirror can be applied easier
  • Updated CodeMirror to its latest version
  • Fixed FireFox bug: <select> dropdown would not display due to ::active state transform property
  • Fixed bug: toolbar covering text at small screen width
  • Fixed bug: switchEditors is undefined
  • Updated Css for wp 4.5
  • Added all available CodeMirror themes
  • Added syntax highlighting:
    • for WordPress shortcodes
    • for <!--more--> tags and their variants
    • NEW CodeMirror modes: shortcode.js & wordpresspost.js
  • Now calling hesh.js in an anonymous wrapper so it won't pollute the global namespace
  • Now initializing hesh.js in an async compliant way
  • Refactored php to enqueue javascript in the WordPress friendly way
  • Tested with WordPress 4.5.2
  • Tested in all modern desktop browsers on OSX and Windows 10
1.6.9 2015-10-03
  • Fixed issues with switching editor modes in WP 4.3
1.6.8 2015-09-10
  • Fixed issues with switching editor modes in WP 4.3
1.6.7 2015-04-10
  • Added paragraph tag button, it's visible only when the visual editor is disabled
  • Added minimum editor window height for the full-height mode
1.6.6 2015-04-01
  • Added minimum editor window height for the full-height mode
1.6.5 2015-03-28
  • Fixes for full-height mode
  • Fixed the issue with a hidden first line on smaller screens
1.6.4 2015-03-27
  • Fixed the issue with a hidden first line on smaller screens
1.6.3 2014-10-15
  • Fixed editor window height and resize handler
  • "headers already sent" issue
1.6.2 2014-10-12
  • Compatibility with WP 4.0
  • Fixed fullscreen mode
1.6.1 2014-10-11
  • Compatibility with WP 4.0
1.6.0 2014-05-09
  • You can change font size in the editor
  • Fixed issue with restoring cursor position
  • Updated CodeMirror library
  • Some minor improvements
1.5.0 2014-04-21
  • Updated CodeMirror library
  • Some minor improvements
1.4.8 2014-04-18
  • Add Link button now works with page selector window
  • Some minor improvements
1.4.7 2014-04-05
  • You can now select Light or Dark editor colour theme
1.4.6 2014-03-30
  • Fixed issue when "Add Media" button stopped working
  • Fixed editor resize bug in Visual mode.
1.4.4 2013-12-03
  • Add Media button now works correctly in Text mode
  • Fixed jumping cursor issue when :, '{', '}' keys are pressed
1.4.3 2013-11-09
  • Fixed jumping cursor issue when / key is pressed.
1.4.2 2013-11-04
  • Fixed a focus bug
1.4.1 2013-11-04
  • Toggle fullscreen mode with F11/Esc hotkeys
  • Publish Post/Page hotkeys Ctrl + S / Cmd + S
  • Fixed some bugs for IE 8
  • Added development files to the zip bundle
1.4.0 2013-11-02
  • New fullscreen mode
  • Remembers tab state
  • Editor resize handler
  • Code refactoring and minification for better loading performance
1.3.2 2013-10-26
  • Updated CodeMirror library
  • Increased loading performance
  • Match brackets
1.3.1 2013-10-19
1.3.0 2013-02-09
  • CodeMirror libruary updated to the version 3.02
  • Added quicktags toolbar buttons
  • Preserve the scroll position after update or page reload
1.2.1 2013-02-09

vertical resize for the editing box (works on FireFox, Chrome, Safari). not working buttons/tags was hidden

=