It would be great to have CKEditor feature to include syntax highlighter bridging function. When {syntaxhighlighter options}#code{/syntaxhighlighter} is used in ckeditor in source view, it wraps all lines of code within the block into a single line. And when the code snippet is added through the main ckeditor interface, it automatically puts <p> or <br> tags. It would be a desirable feature to instruct not to change anything inside the {syntaxhighlighter} block.
I also found such a bridge hosted at http://code.google.com/p/ckeditor-syntaxhighlight/. It is actually a plugin for ckeditor and works well with standalone installation of ckeditor, but fails to work with the ckeditor module integrated into drupal. Any ideas on how to fix this would also be desirable.

Thank You.

Comments

dczepierga’s picture

Status: Active » Postponed
Issue tags: +6.x-2.0

Maybe it will be added in the future.

dczepierga’s picture

Status: Postponed » Closed (won't fix)
Issue tags: -6.x-2.0

I think it should be integrated to the one of the drupal modules supported syntax highligting - as i see all add support for WYSIWYG with TinyMCE and no one write sth for CKEditor, so more people must write to maintainers of there modules to add support for CKEditor - I can only write to them and ask that it's possible to do sth like this...

Greetings

verynic’s picture

yeah,that's it!