Releases: EnlighterJS/Plugin.WordPress
Releases · EnlighterJS/Plugin.WordPress
Compatibility Mode, Dynamic-Resource-Invocation
- Added: Dynamics-Resource-Invocation (exprimental option) - Enlighter javascript dependencies are only loaded in case they are needed - features requested on GitHub
- Added: Compatibility Mode to convert legacy codeblocks (e.g. Jetpack Markdown) to Enlighter recognizable code
- Added: EnlighterJS v2.12.0
- Added: language domain path to plugin entry file (used by the WordPress plugin registry)
- Bugfix: About-Page redirect on plugin upgrade/activation may be cached by browsers - added nocache header; changed status code to
http-307
- Changed: splitted the settings page (editing section) into visual-editor and text-editor
PHP 5.3 Backward Compatibility, Multisite Support
- Added: WordPress Multisite support
- Added: JSDELIVR as MooTools CDN Source - feature requested on WordPress.org Forums
- Added: Additional check to the About-Page redirection (triggered on plugin activation) to avoid infinite redirects in case of a broken 3rd party options-caching plugin
- Added: Brazilian Portuguese localization (pt_BR) - thanks to rafajaques on GitHub #50
- Bugfix: The new cache accessibility check (v3.2) did not work on WIN platform
- Bugfix: PHP 5.3 Compatibility within the LowLevel Shortcode Filter - thanks to crislv90 on GitHub
one step ahead
- Added: EnlighterJS v2.10.1
- Added: About/News Page which is shown on plugin activation/upgrade
- Added: New Options Page
Extensions
for Enlighter related third-party plugin integration - Added: Experimental Support for Jetpack Infinite Scroll - feature requested on WordPress.org Forums
- Added: Experimental bbPress Shortcode support - feature requested by DevynCJohnson on GitHub
- Added: global constant
ENLIGHTER_PLUGIN_URL
- pre-processed version ofplugins_url('/enlighter/')
- Added: local enqueue wrappers to the
ResourceLoader.php
- Added: Enlighter Shortcode support for Text-Widgets
- Added: Enlighter Shortcode support for User Comments
- Added: Options to enable/disable the Editor Quicktags on the Frontend as well as Backend
- Added: HTML Tag restrictions to Visual Editor: disallows any kind of formatting elements (strong, span, em, ..) within code-blocks
- Added: Event
enlighter_init
which is triggered on plugin initialization complete - Added: Filter
enlighter_themes
to modify the internal theme list - ability to add and/or remove themes - Added: Filter
enlighter_languages
to modify the internal language list - ability to add and/or remove languages - Added: Filter
enlighter_resource_url
to modify the domain/protocol of related Enlighter resources - Added: Filter
enlighter_shortcode_filters
to enable shortcodes in specific sections by hooking into 3rd party filters - Added: Minified Versions of the TinyMCE Plugin
- Changed: The EnlighterJS Config object is now populated as
EnlighterJS_Config
to enable third-party integrations/plugins - Changed: Moved Cryptex Settings from
Options
toExtensions
- Changed: External Plugins (colorpicker, jquery.cookie) are moved from
extern/
toresources/extern
- Changed: toolbar button link to http://enlighterjs.org
- Changed: The Plugin is now initialized on init to enable users to hook-in
- Changed: Renamed the Visual Editor configuration object to
EnlighterJS_EditorConfig
- Changed: Renamed the TinyMCE plugin from
enlighter
toenlighterjs
- Changed: Renamed the TinyMCE plugin files to
EnlighterJS.TinyMCE.min.js
,EnlighterJS.TinyMCE.min.css
- Changed: Removed the "Advanced" page - settings are moved to "Options"
- Bugfix: The special-line color of the Atomic theme was too dark. changed to 0x392d3b - thanks to CraigMcKenna on GitHub
- Bugfix: Users with role
author
andcontributor
were not able to set language, theme or other options in Editor Mode (html attributes were stripped by the KSES filter) - Bugfix: Codegroup title cannot be set manually caused by wrong attribute name - thanks to PixelT on GitHub
- Bugfix: Codeblock edit button does not work in WP 4.5 caused by cross-plugin event-propagation
- Bugfix: Users with role
author
andcontributor
were not able to use the frontend-editor-extension because of missing privileges to edit pages. Condition is changed toIS_LOGGED_IN AND (CAN_EDIT_POSTS OR CAN_EDIT_PAGES)
- thanks to Petr on WordPress Forums - Bugfix: HTML Code Fragment within the generated
cache/TinyMCE.css
file caused CSS validation error - Cleaned up the internal Plugin Structure
- Visual Editor (TinyMCE) Plugin is outsourced to AndiDittrich/EnlighterJS.TinyMCE
v3.0
3.0
- Added: New robust and fault-tolerant
LowLevel Shortcode Handler
to avoid issues with wpautop filter and unescaped html characters (text mode) - Added: Visual Editor Customization
- Added: Option to disable Enlighter shortcodes
- Added: Option to use the old/legacy Shortcode handler
- Added: Shortcode Processor info to the SystemInformation sidebar
- Added: Unique Hash to all cached resources to force cache-update on file-change/settings-update
- Added: Option to cancel WordPress Editor width limit (set to auto)
- Added: QuickTags to the Text/HTML Editor
- Bugfix: Theme Customizer was not able to modify the special-line-highlighting-color of codeblocks without line-numbers - thanks to CraigMcKenna on GitHub
- Bugfix: MooTools <= 1.5.1 #2705 will throw the javascript error
The specified value "t" is not a valid email address
- updated to v1.6.0 - thanks to lots0logs on GitHub - Bugfix: Removed TinyMCE debugging output (written to console)
- Bugfix: The Edit Icon (Visual Editor) is now dynamically positioned based on editor width
- Bugfix: Foreground Color of Theme-Customizers color elements is changed dynamically based on the background color brightness
- Changed: Moved the Enlighter Settings Page to the Top-Level of WordPress Administration Menu
- Changed: Moved Language Shortcode options from advanced settings to editing section
- Changed: Moved TinyMCE Editor options from advanced settings to editing options
- Changed: The Visual Editor Code-block appearance (modernized)
- Changed: Language Titles in the Visual Editor Box are dynamically generated
- Changed: Internal file structure (editor resources)
- Changed: The Menu Slug/URL from
options-general.php?page=enlighter/class/Enlighter.php
toadmin.php?page=Enlighter
- direct, custom links to the settings page require an update ! - Changed: Editor Config object is renamed to
Enlighter_EditorConfig
- Changed: New Resource Manager structure is used
- Changed: Cached files are observed and re-generated if missing
- Replaced: the low-level PHP based ObjectCache by the WordPress Transient API
- Dependencies: Updated MooTools to v1.6.0
- Deprecated: The "WpAutoP" Filter Priority setting will be removed in the future - the new LowLevel Shortcode Handler will avoid wpautop issues!
Bugfix Release
- Bugfix: the default option of "Enlighter Config" is now set to "inline" - this may avoid highlighting when upgrading to 2.10 - I apologize for the inconvenience - thanks to ciambellino on GitHub
Visual Editor Bugfixes and new Features
- Added: EnlighterJS v2.10.0
- Added: Cython Language support - thanks to DevynCJohnson on GitHub
- Added: Squirrel Language support - thanks to DevynCJohnson on GitHub
- Added: General Assembly Language support - feature requested on GitHub
- Added: LUA Language support
- Added: Minimal Theme (bright, high contrast)
- Added: Atomic Theme (dark, colorful)
- Added: Rowhammer Theme (light)
- Added: missing AVR Assembly features (used AVR-1022 reference)
- Added: Universal Google Webfonts loader: Droid Sans Mono, Inconsolata .. (all available monospace fonts, Nov 2015)
- Added: option to control the global script position (header/footer) of related javascript files - features requested on GitHub
- Added: link to the official EnlighterJS Website to the plugin overview page
- Added: ENLIGHTER_VERSION string to all related js/css resources
- Changed: moved settins page link on the plugin overview page to the action links (left column)
- Changed: the editor font-size is set to 0.7em and the font-family is changed to "Source Code Pro"
- Renamed: Webfonts style name changed to
enlighter-webfonts
- Removed: option to control the initialization script position (replaced by an additional global script position option)
- Removed: calls to
wp_register_style
andwp_register_script
- instead thewp_enqueue_
methods are used directly - Bugfix: removed some incorrect html attribute quotes within the settings page
- Bugfix: removed unused html table tag from the settings page
- Bugfix: removed
console.log
debugging output from tokenizer - Bugfix: in some cases the ThemeCustomizer cannot load the base css files (theme name not transformed to lowercase)
- Bugfix: an empty paragraph is added after each codeblock in the VisualEditor-Mode (permits users to add content after the codeblock)
- Bugfix: copy&paste within a Enlighter codeblock had spilt the block into multiple parts (VisualEditor-Mode)
v2.9
- Added: EnlighterJS v2.9
- Bugfix: Under some special conditions the tokenizer repeats the last sequence of a codeblock - thanks to Kalydon and dan-j on GitHub
- Bugfix: TinyMCE Editor plugin didn't work in some special cases (use of other editor plugin) - Thanks to esumit on GitHub
- Bugfix: the final character of highlighted code got removed by the tokenizer engine in case it's a text token - thanks to dan-j on GitHub
- Bugfix: Generic highlighting was accidentally removed from EnlighterJS
v2.8
- Added: EnlighterJS v2.7.0
- Added: Rust language support - feature requested on GitHub
- Added: VHDL language support
- Added: Matlab language support
- Added: New Shell/Bash language engine
- Added: New PHP language engine
- Added: New CSS language engine - some styles have changed!
- Added: Shell script example
- Added: "MooTwo" theme inspired by the mootools.net website
- Added: "Godzilla" theme inspired by the MDN
- Added: "Droide" theme
- Added: New EnlighterJS Info Button (Toolbar)
- Added: New Tokenizer Engine which increases the rendering performance by nearly 700%
- Bugfix: Wrong highlighting class used for SQL comments
- Changed: Smart Tokenizer Engine is used instead of the old Lazy Bruteforce matching
- Changed: All Fonts of the modern Themes are replaced by "Source Code Pro" as default
- Changed: Classic Themes
kw3
color switched withkw4
- Changed: The hover css-class is now added to the outer
ol,ul
container instead of eachli
line - all themes have been adapted - Changed: Inline gif imaages are used for the button toolbar instead of png images (size optimization)
- Many performance improvements
- Reduced the CSS and JS file-size by massive sourcecode optimizations (43kB JS; 28KB CSS; including all Themes and Languages!)