wyswig editor

Working with TinyMCE & Syntax Highlighting

Welcome to ThetaJoin's Blog. It's under construction, but making great progress. The goal of this blog is to publish tips and techniques to improve Drupal performance. This will require the posting of SQL statements, PHP code, BASH scripts, CSS, and even possibly Javascript source code, of which having excellent looking code is a top priority.

During the development of this blog site, I ran into a few stumbling blocks getting TinyMCE to work with the SyntaxHighlighting library. At first, I couldn't get the TinyMCE editor to display in Firefox 3.0.17 on Ubuntu 8.04. It was visible with Opera 10.10, so I knew I had it all configured properly. The solution for Firefox was to disable Firebug. Seems they don't like each other.

The other issue I ran into, simply because I was playing around with drush and installed the TinyMCE module AND the wysiwyg module at the same time! Now, this really brought some very interesting conflicts!! If I disabled the TinyMCE module, the full, configured TinyMCE editor would still appear! Uninstalling the TinyMCE module from Drupal and leaving the wysiwyg module to handle it all, solved the problem.

When configuring your input type for syntax highlighting, don't forget to select SyntaxHighlighter!

Plenty more to work on!!

-- Mark

Creative Commons License
This work by Mark Schoonover is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
Based on a work at blog.thetajoin.com. All comments copyright their respective owners.

Syndicate content
Drupal SEO