EnlighterJS / Plugin.WordPress

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

Icons - one line #236

Closed rbzg closed 4 years ago

rbzg commented 4 years ago

When we have the code on one line, you can't see the whole icons toolbar.

Enlighter 4.0.

bug

AndiDittrich commented 4 years ago

EnlighterJS (v2 + v3) are not designed to display a single line of code as "block code". especially there is no simple solution available which didn't affect the "regular" blocks.

the following workarounds are available

  1. use inline highlighting mode of the classic editor
  2. disable the toolbar
  3. add some dummy lines to have at least 3 lines of code

if you have a suggestion how this issue can be address please feel free to post them