Forum Replies Created
use the DOM inspector of Firefox or Chrome
the EnlighterJS theme looks weird… i would assume it’s caused by your themes css. did you tried a standard/default theme within you dev environment ?
1. it looks like padding/text-indent – jsut take a look into the generated dom and applied css (your provided testpage doesn’t contain EnlighterJS codeblocks)
3. shure, just use a custom theme and tweak the css – see external themes for details: https://github.com/EnlighterJS/documentation/blob/master/wordpress/ExternalThemes.mdForum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] capitalize the first letter
text-transform: capitalizeset within your body css – nothing related to EnlighterForum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] Enlighter background color
It depends on the theme, sometimes the line backgrounds are set which need to removed first (transparent).
Some of the themes using background images (has to be changed via css)
you can try to adjust the tab-width with css (supported in modern browsers). but generally users should use the copy or raw code buttons (no changes to the source code).
set “Code Indentation” to “2 spaces” – this will replace each tab with 2 spacesForum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] Where are the themes?
The customizer should technically work as expected – but it’s not intended for “full” customization. Some background styles can only changed via css.
All themes are stored within enlighterjs.min.css (resources folder). By using the customizer the contents are copied into the cache directory with the additional customizer theme (the css output of the customizer).
Technically all themes are available on GitHub https://github.com/EnlighterJS/EnlighterJS .
Please take a look into the documentation to understand of it all works together: https://github.com/EnlighterJS/documentation/blob/master/wordpress/ExternalThemes.md
Hi @rikoreents ,
the EnlighterJS TinyMCE Plugin is a standalone component and cannot confirm any issues with the current release (tested in Firefox and Chromium).
Did you tried to use EnlighterJS with “Classic Editor” without any other plugins in a testing environment ? This should work fine – if not there is maybe an issue with your theme or something browser/cache related.
I’m not sure what kind of TinyMCE invocation is used by WPBakery but they maybe modified some of the internal TinyMCE hooks. Since WPBakery is a payed/commercial solution i’m unable to provide free/community support. Maybe you can open an issue with WPBakery support.
it has been fixed within the dev version, you can replace to ShortcodeFilter.php file to apply it as hotfix if needed
and thanks for your report.
i can confirm this issue – it’s caused by the matching language shortcode for C.
at the moment i would suggest to disable language shortcodes.Forum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] extra highlight
It’s only possible to highlight a line of code, not specific partsForum: Plugins
In reply to: [Enlighter - Customizable Syntax Highlighter] “Copied to clipboard”
onClickshould work but the event handler has to be added **after** EnlighterJS.init has been called. therefore add the initialization code to an
document.onLoadevent and may add a 1s timeout.
take a look into the html sources for “EnlighterJSRAW” – these are the wrapper elements containing the sourcecode. the whole “content” of your page is wrapped into a single line without linebreaks.
normally this is an effect of caching plugins / theme settings / page builders.
did you tried Enlighter with a “clean” WordPress setup with the standard themes ?
btw. i’ve seen such issues very often…therefore i’m pretty sure its not a general Enlighter issue