This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Crayon Syntax Highlighter in Visual editor

11 years ago · Last reply by Adam Mesa 11 years ago

Hi,

1. Using the page builder and then Visual Editor does not launch the “Crayon Syntax Highlighter”
2. Even Manually entering the code, does not work..?

<pre class="lang:default decode:true ">hello
whats up</pre>

which plugin works with Vantage theme..? or how do you fix the above

URL: http://www.tskamath.net/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Andrew Misplon Staff 11 years, 2 months ago

    Hi Srikanth

    Thanks for your support. Sorry to hear about this hassle.

    Please could you narrow this down for us. Does the same issue occur if you try the Visual Editor widget and the code you listed in the sidebar widget area at Appearance > Widgets.

    In short, please run this same test in a regular widget area and see if the result is any difference. That’ll narrow down what we’re looking at.

    (Perhaps also try the same code in the Text widget in Page Builder as well as in a Text widget in a regular widget area).

  2. Adam Mesa 11 years, 1 month ago

    Hello Andrew,

    I’m having the same issue as well, and I did the tests to help narrow down the problem.
    A correction that I’ve found for the “1.” problem – it appears that the editor is launched, but that it’s z-index is lower than that of the visual editor’s pop-up, and as such, we can not see it. Closing the visual editor pop-up allows us to see this pop-up, and use it as well. :)

    Unfortunately, after testing, it appears the snippets don’t work in a normal text/html widget within the page builder, nor do they work in the visual editor / text/html widget within a normal widget area – it seems to me like the crayon itself doesn’t want to run within widgets.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread