Skip to content

đź“ť Official EnlighterJS Plugin for WordPress Gutenberg Editor

License

Notifications You must be signed in to change notification settings

EnlighterJS/Plugin.Gutenberg

Folders and files

NameName
Last commit message
Last commit date
Dec 26, 2018
Mar 12, 2022
Mar 15, 2022
Mar 15, 2022
Aug 4, 2018
Aug 4, 2018
Aug 3, 2018
Mar 15, 2022
Aug 3, 2018
Aug 25, 2020
Aug 22, 2020
Aug 4, 2018
Aug 22, 2020
Aug 4, 2018
Aug 25, 2020
Mar 12, 2022
Mar 12, 2022

Repository files navigation

EnlighterJS Plugin for Gutenberg Editor

Gutenberg Editor Integration

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

  1. Create the plugin directory wp-content/plugins/enlighter-gutenberg
  2. Copy enlighter-gutenberg.php and dist/ into this directory
  3. 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