Hi!
Syntaxhighliter wont work for me. I configured it properly with yours "HOWTOs".
Tinymce added code properly:

<pre class="brush:php;first-line:1;" title="Tesr">$oauth = OpenPayu_OAuth::accessTokenByClientCredentials();
$oauth-&gt;getSuccess();
# true
$token = $oauth-&gt;getAccessToken();</pre>

but syntax is not generated. I get error in JS console: Drupal is not defined.
http://i.imgur.com/Ceh22.png - as you see everything is loaded.

Please help ;)

Comments

jaroslaw.kaminski’s picture

Ok, so I found where is a problem and some workaround. File syntaxhighliter.min.js was loaded as first js on website before jquery and drupal.js. I had to modify syntaxhighliter.module file and deleted in drupal_add_js additionals options and now file is after jquery and drupal. So please repair it and commit it into dev version ;-)

fizk’s picture

Status: Active » Closed (cannot reproduce)

I'm not able to reproduce this. Please reopen if this is still an issue with the latest dev.