Closed Wolf-Byte closed 5 years ago
Hi @Wolf-Byte ,
thanks for your feedback. currently this behaviour is intended by design: it is projected to remove the "default language" setting from the plugin page because its not really needed - in the past it sets the "default" highlighting language in case no language attribute was set. Currently every component (TinyMCE/Gutenberg/Quicktags/Shortcode) sets this attribute explicitly.
btw. EnlighterJS.Gutenberg has its own repository :+1:
best regards, Andi
update: the "default language" setting has been removed in Enlighter v4 - the language parameter has to be set explicitly for each codeblock.
you can change the "default list value" by altering the global language list via the filter enlighter_languages
Firstly I would like to say great work on the plugin guys 👍. I know this is a low priority issue in the grand scheme of things but I thought I would raise it on the off chance you are not aware of it.
When using the Gutenberg Beta (Version 3.8-BETA1) the default language does not appear to be inherited.
Replication steps:
Like I say this is no biggie and it can easily be worked around in the meantime by manually selecting the language.