EnlighterJS / Plugin.WordPress

:package: Official WordPress Plugin of EnlighterJS
http://wordpress.org/plugins/enlighter/
GNU General Public License v2.0
115 stars 17 forks source link

EnlighterJS is not working #289

Closed procodeguide closed 3 years ago

procodeguide commented 3 years ago

EnlighterJS is not working even after disabling wp fastest cache & autoptimize. I am using a DIVI theme. https://procodeguide.com

Here is my debug log

{ "translation-enabled": true, "enlighterjs-init": "inline", "enlighterjs-assets-js": true, "enlighterjs-assets-themes": true, "enlighterjs-assets-themes-external": true, "enlighterjs-selector-block": "pre.EnlighterJSRAW", "enlighterjs-selector-inline": "code.EnlighterJSRAW", "enlighterjs-indent": 4, "enlighterjs-ampersandcleanup": true, "enlighterjs-linehover": false, "enlighterjs-rawcodedbclick": true, "enlighterjs-textoverflow": "scroll", "enlighterjs-linenumbers": true, "enlighterjs-theme": "enlighter", "enlighterjs-retaincss": true, "enlighterjs-language": "csharp", "toolbar-visibility": "default", "toolbar-button-raw": true, "toolbar-button-copy": true, "toolbar-button-window": true, "toolbar-button-enlighterjs": false, "tinymce-backend": true, "tinymce-frontend": false, "tinymce-formats": true, "tinymce-autowidth": false, "tinymce-tabindentation": false, "tinymce-keyboardshortcuts": false, "tinymce-font": "sourcecodepro", "tinymce-fontsize": "0.7em", "tinymce-lineheight": "1.4em", "tinymce-color": "#000000", "tinymce-bgcolor": "#f9f9f9", "gutenberg-backend": true, "quicktag-backend": false, "quicktag-frontend": false, "quicktag-mode": "html", "shortcode-mode": "disabled", "shortcode-inline": true, "shortcode-type-generic": true, "shortcode-type-language": true, "shortcode-type-group": false, "shortcode-filter-content": true, "shortcode-filter-excerpt": true, "shortcode-filter-widget": false, "shortcode-filter-comment": false, "shortcode-filter-commentexcerpt": false, "gfm-enabled": false, "gfm-inline": true, "gfm-language": "raw", "gfm-filter-content": true, "gfm-filter-excerpt": true, "gfm-filter-widget": false, "gfm-filter-comment": false, "gfm-filter-commentexcerpt": false, "compat-enabled": false, "compat-crayon": false, "compat-codecolorer": false, "compat-type1": false, "compat-type2": false, "compat-filter-content": true, "compat-filter-excerpt": true, "compat-filter-widget": false, "compat-filter-comment": false, "compat-filter-commentexcerpt": false, "cache-custom": false, "cache-path": "", "cache-url": "", "dynamic-resource-invocation": true, "ext-infinite-scroll": false, "ext-ajaxcomplete": false, "bbpress-shortcode": false, "bbpress-markdown": false }

AndiDittrich commented 3 years ago

disable "Dynamic Resource Invocation" - it seems that it's not working with your theme (the page doesn't include the EnlighterJS javascript files)