📝 Official EnlighterJS Plugin for WordPress Gutenberg Editor
enlighter-plugin
enlighterjs
gutenberg-blocks
gutenberg-editor
gutenberg-plugin
sourcecode
syntax-highlighting
visual-editor
wordpress-plugin
- JavaScript 89.9%
- Less 5.2%
- PHP 4.7%
- Shell 0.2%
| assets | ||
| css | ||
| dist | ||
| src | ||
| .eslintignore | ||
| .eslintrc.json | ||
| .gitignore | ||
| babel.config.json | ||
| build.xml | ||
| CHANGES.md | ||
| enlighter-gutenberg.php | ||
| gulp | ||
| gulpfile.js | ||
| LICENSE.txt | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
EnlighterJS Plugin for Gutenberg Editor
Current Limitations
- Legacy EnlighterJS code cannot be transformed to blocks by the "Transform to Blocks" utility of the classic editor.
Caused By: gutenberg/8648 - Newly created codeblocks (via Gutenberg) mess up the HTML with unused attributes because of a validation issue.
Caused By: gutenberg/8532 / gutenberg/7604
Usage
As integral part of the Enlighter WordPress Plugin (future)
Development
- Create the plugin directory
wp-content/plugins/enlighter-gutenberg - Copy
enlighter-gutenberg.phpanddist/into this directory - Activate the plugin
Required Directory Structure
wp-content/
| - plugins/
| | -enlighter-gutenberg/
| | |- enlighter-gutenberg.php
| | |- dist/
| | | |- enlighterjs.gutenberg.min.css
| | | |- enlighterjs.gutenberg.min.js
License
EnlighterJS.Gutenberg is OpenSource and licensed under the Terms of Mozilla Public License 2.0. You're welcome to contribute
