I am using Drupal 7.12 + Whysiwyg + CKEditor. The field link to insert code is working correctly but the WHYSIWYG button is not. it is showing a box like this one:

Snapshot

Have I done anything stupid or is it a problem with the module?

CommentFileSizeAuthor
snapshot2.png139.44 KBAniruddha Adhikary
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jelle_S’s picture

Have you tried the latest dev version? It could be that the 1.0 version still has a small bug,
I'm not having this problem with the dev version. I'll make a new release soon as well.

Jelle_S’s picture

Status: Active » Postponed (maintainer needs more info)
kmike1985’s picture

I am using the latest dev version but it doesn't work. Any suggestions?

lautaro.pastorini@gmail.com’s picture

I have the same problem with TinyMCE

Jelle_S’s picture

Status: Postponed (maintainer needs more info) » Active

any errors under reports -> recent log messages?

Jelle_S’s picture

Status: Active » Postponed (maintainer needs more info)
JurriaanRoelofs’s picture

I had the same result.

The bug is identical to what I found in the shortcode wysiwyg module:
http://drupal.org/node/1241356#comment-6158846

Where does the buggy code come from? is this stuff in an example module or in the WYSIGWYG module? that source of it should be fixed so that not every WYSIWYG plugin has this problem.

So the fix is to replace:

dialogdiv.load(aurl + " .content #syntaxhighlighter-insert-wysiwyg-form", function(){

with

dialogdiv.load(aurl + " #syntaxhighlighter-insert-wysiwyg-form", function(){
Jelle_S’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks for that, fixed in the latest dev version

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.