Closed (won't fix)
Project:
GeSHi Filter for syntax highlighting
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2011 at 13:23 UTC
Updated:
15 Nov 2014 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
robloachI'd suggest hitting up the issue queue over at the bridge about it! http://drupal.org/project/wysiwyg-geshi .
Comment #2
Snugug commentedThat module appears to be abandoned, doesn't have any releasees, and was written for 6.x
Comment #3
robloachMost definitely needs some love!
Comment #4
wulff commentedI modified the code from the bridge module to work with Wysiwyg and CKEditor in Drupal 7. Currently, the code just lives in a utility module on the site I'm building, but I'll try to find the time to create a proper patch for the bridge module.
My code is in two parts: A
hook_wysiwyg_plugin()implementation and a bit of javascript.The code from the bridge module has been modified a bit. Instead of adding buttons for a few hardcoded filters, it now adds buttons for all enabled GeSHi filters. When you have enabled the GeSHi filters you would like to use, you must edit your WYSIWYG profile to add the new buttons to the editor toolbar.
The javascript has been cleaned up a bit and now grabs button settings from Drupal.settings.
If you're using Drush Make, you can use the attached patch to make sure that geshi.php is patched for use with the bridge code.
Comment #5
wulff commentedI have added a Drupal 7 patch over at #1351974: Port to D7?.
Comment #6
Snugug commentedCool, thank you much! I'll take a look when I get a chance!
Comment #7
yukare commentedSince this patch gone to https://www.drupal.org/project/wysiwyg-geshi i am closing this as i do not anything to geshi here. Please reopen if we need to change something on geshi side of this.