Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #392502

    Hi,
    I am trying to setup a website with enfold and the advanced editor. I also need to be able to display php, html and js code snippets on the pages/posts.

    I’ve tried out different plugins, some work with the advanced editor disabled, some don’t work at all. Example: https://wordpress.org/plugins/crayon-syntax-highlighter has all the features I need, but once I enable the advanced editor, it doesn’t work anymore(there is a Z-index issue – the plugin uses 9999 where the advanced editor uses +15000)

    Can you recommend a solution that I could use?

    Thanks, Andrei.

    #393174

    Hi klodoma!

    You can use our codeblock element and surround your code with <pre></pre> tags. I have not used any syntax highlighters with Enfold yet. Send us a WordPress login and we’ll take a look.

    Cheers!
    Elliott

    #393310

    Hi Elliott,

    I’ll send you a login once I have it. I also found a temporary solution with gist.github.com. I’ll post that too, maybe some others are also interrested. Feedback will follow in a few days.

    Andrei.

    #394159

    Hi!

    There is another user who’s having trouble with the same plugin. Unfortunately, we were not able to help him. Try to use the Default Editor instead of the ALB.

    Regards,
    Ismael

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