Drupal syntax highlighting

What is the best module for Highligting syntax in Drupal. I am using GeSHi for syntax highlighting my code. It worked fine, then I installed the second module FCKeditor . Now GeSHi filter does not work with FCKeditor. Does anyone know why these modules do not work together.

Thanks in advance.

+3
source share
3 answers

In this post .

The message gives you more detailed information, but in essence it is a matter of adding the fckeditor.config.jsfollowing line to the file :

FCKConfig.ProtectedSource.Add( /<blockcode language[\s\S]*?<\/blockcode>/gi  );

FCKeditor , - .

, FCKeditor, geshi.

, !

+2

Drupal , .

, ( FCKEditor), google-code-prettify. FCKEditor, Wordpress, , FCKEditor.

+1

Source: https://habr.com/ru/post/1723928/


All Articles