EnlighterJS / Plugin.Gutenberg

:pencil: Official EnlighterJS Plugin for WordPress Gutenberg Editor
Mozilla Public License 2.0
21 stars 1 forks source link

Height of gutenberg blocks and colour for highlighted lines (Atomic). #25

Closed ajtruckle closed 4 years ago

ajtruckle commented 4 years ago

Hi!

Please have a look here. I have two Gutenberg Blocks in that post and I have two questions:

  1. Is there any possibility to set the block to a certain height so that it will use a vertical scroll bar? It is not critical - I am just curious.

  2. I would be grateful for any help in picking a suitable colour for highlighted lines of code in the Atomic theme.

AndiDittrich commented 4 years ago

HI @ajtruckle

is your first question related to the Gutenberg editor or the codeblocks in your website ?

  1. use whatever you wan't - maybe a lighter grey
ajtruckle commented 4 years ago

is your first question related to the Gutenberg editor or the codeblocks in your website ?

The specific page I provided you will was created using Gutenberg Editor block. It is that I refer too.

  1. use whatever you wan't - maybe a lighter grey

I picked a colour.

AndiDittrich commented 4 years ago

sorry i didn't understand your first issue:

  1. do you want the limit the Gutenberg codeblock height OR
  2. do you want to limit the EnlighterJS codeblock height ?
ajtruckle commented 4 years ago

Ah, sorry. I had in mind ability to adjust settings for how it would look as a enlighterjs code block.