SyntaxHighlighter - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: SyntaxHighlighter (/showthread.php?tid=5126) |
SyntaxHighlighter - lnickel - 2013-08-31 SyntaxHighlighter Cannot get it to work. I followed Connie's steps in the wiki and searched the forums. I've found two posts that are close. One is for activating codemirror (couldnt get that to work either) and the slowness of the syntaxhighlighter. It seems every time I copy in the two lines it breaks the editor config.extraPlugins = 'syntaxhighlight', config.syntaxhighlightLangDefault = 'php' I've followed the steps precisely. Ive tried taking out and putting back in the files and it seems I've pinpointed it to be those two lines. I've tried closing the lines each with semicolon but nothing. Also - I notice in the gsconfig by adding in the ['code']. It doesnt show the button in the editor either Code: CKEDITOR.editorConfig = function( config ) Any help is greatly appreciated MY goal is to have the code highlighted so it will make it easier for me see RE: SyntaxHighlighter - shawn_a - 2013-08-31 Use the patch_cke branch on github, it has ckeditor 4.2 and syntaxhighlighter built in. RE: SyntaxHighlighter - shawn_a - 2013-08-31 those lines need semicolons config.extraPlugins = 'syntaxhighlight'; config.syntaxhighlightLangDefault = 'php'; it is object assignment, not an object array as the other configs are. and i just realized resize_dir does not have a semicolon, its actually not required, its a huge javascript debate.\ Code: CKEDITOR.editorConfig = function( config ) RE: SyntaxHighlighter - lnickel - 2013-09-05 Worked like a charm again TY shawn! |