Active
Project:
Wysiwyg syntaxhighlighter integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Mar 2011 at 02:53 UTC
Updated:
29 Jun 2012 at 10:26 UTC
Jump to comment: Most recent file
Comments
Comment #1
AlexAtNet commentedComment #2
Tiny3001 commentedSubscribing
Comment #3
Aleksey Zubko commentedSubscribing
Comment #4
mike503 commented+1 please. no good clean syntax highlighting seems to exist for 7 right now.
Comment #5
jshvrsn commentedAt the very least, the 'path' needs to be split into 'path' and 'filename' in 'wysiwyg_syntaxhl.module':
Comment #6
meecect commentedYes, it is now. I will produce one shortly. Give me a week or so.
Comment #7
wesnick commentedHi, had to use this module on D7, not much to change, but did refactor the directory structure to mimic other imce plugins for D7. Patch attached against 6.x-1.x
Comment #8
meecect commentedthanks wesnick, I'll look this over and if it looks right, I'll commit it to a new d7 branch and cut a release. Might take me 3 or 4 days to get to it, unfortunately.
Comment #9
eduardmanas commentedI just got it working for Drupal 7, and was about to suggest a patch for this module...
As jshvrsn suggested, the only change needed is removing editor_plugin.js from path and adding it to 'filename' (and updating the info file to version 7.x of course)
Great work guys!
Comment #10
willvincent commentedI confirm the only changes needed to get this working in D7 is moving the filename to its own element, and updating the path.
Here's a patch.
Comment #11
willvincent commentedI actually have not been successful in getting syntaxhighlighter to work in D7 when it uses the {syntaxhighlighter} format tags, I can only get it to work when using pre tags. As such, for this to work completely, I also had to modify the js, but the patch in #10 will get the this module working as expected in D7 (as far as I can tell).
Comment #12
threading_signals commentedCould not get it to work for nginx. It requires regex modifications I believe in a new location.
Comment #13
ajits#7 : did not work for me.