Support » Plugin: Enlighter - Customizable Syntax Highlighter » Horizontal Scroll Bar

  • Hi Team,

    Could you please let me know if there is any way to enable horizontal Scrollbar in case code is going beyond maximum width body. In a case where comments are added, instead of providing the horizontal scrollbar it wraps the lines which look odd to me.

    I tried different option but failed to achieve this. Please let me know if this is achievable or not? If yes how?


    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andi Dittrich


    Hi @vivekanand30,

    there is currently no direct option available to change the line wrapping behaviour (projected for the next major release).

    to change the line-wrapping to scroll you have to override some css rules (added to your themes css). some examples are already provided on github:

    best regards, Andi



    When is the expected release date for the next major release?

    Plugin Author Andi Dittrich


    Hi @jalopenopopper

    the EnlighterJS library v3.0.0-RC2 released just a few hours ago – it includes the new textOverflow flag to control the line-break behaviour (scroll or break).

    now the rework of the WordPress plugin will start. there’s currently no fixed release date projected – maybe 1…3 month. in the meantime you can use the “experimental integration” but this requires some manual work

    br, Andi

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.