Releases: mukhortov/HESH-WordPress-Plugin
Releases · mukhortov/HESH-WordPress-Plugin
WP 4.9 patch
A patch for WP 4.9 .No more double editors in theme/plugin editors.
Advanced Options
- 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
In patch 2:
- fixed bug: github updater in production issue #52
- updated Codemirror to latest release version
Added Search
Version 2 bug fixes patch
Version 2
- The HESH editor now has parity with the standard WP text editor, including compatibility with the 'Enable full-height editor and distraction-free functionality' (The last option located under 'Screen Options' tab at the top of the page).
- Behavior with full _'Enable full-height editor and distraction-free functionality' enabled:
- The fullscreen button enables 'distraction-free' mode. All other controls on the screen fade away.
- The editor has a dynamic height based on its text content. This is the 'full height editor'. The editor still has a min-height of 300px.
- The editor toolbar fixes to the top of the screen while scrolling down the editor's length.
- Behavior with full _'Enable full-height editor and distraction-free functionality' disabled:
- The fullscreen button puts the editor into the traditional fullscreen mode.
- The editor has a 'content resize handle' in the bottom right. Dragging this will resize the editor's height with a min-height of 70px.
- The editor content vertically scrolls within the resizable height.
- Behavior with full _'Enable full-height editor and distraction-free functionality' enabled:
- Syntax highlighting on Theme and Plugin Editor pages.
- Dynamically picks the right file type for highlighting.
- 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
Version 1.7.2
New in v1.7.2
- 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
Version 1.7.1
New in v1.7.1
- 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
Version 1.7.0
New in v1.7.0
- 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
statetransform
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