Wysiwyg CodeMirror source highlighting

Component ID

745102

Component name

Wysiwyg CodeMirror source highlighting

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1050

Component created

Component changed

Component body

Drupal 7 version: use CodeMagic instead.

Provides a TinyMCE plugin to provide an indented, syntax-highlighted (colorized) HTML source view. Much nicer than the built-in TinyMCE HTML source editor.

Depends on the Wysiwyg module (http://drupal.org/project/wysiwyg), CodeMirror library (http://marijn.haverbeke.nl/codemirror/) and a correctly configured TinyMCE editor (versions 3 and up).

Read INSTALL.TXT - you need to download the latest CodeMirror library before enabling the module.

A similarly named project - Wysiwyg syntaxhighlighter integration (http://drupal.org/project/wysiwyg_syntaxhl) provides syntax highlighting that will be shown to end users - i.e. code snippets in <pre> elements.

This one highlights the syntax in TinyMCE's HTML source view.