Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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->getSuccess();
# true
$token = $oauth->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
Comment #1
jaroslaw.kaminski CreditAttribution: jaroslaw.kaminski commentedOk, 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 ;-)
Comment #2
fizk CreditAttribution: fizk commentedI'm not able to reproduce this. Please reopen if this is still an issue with the latest dev.