Drupal tinymce firefox 3 disable enable rich text link and a blank page problem

Posted by: 
Dominique De Cooman

Solution is here
http://drupal.org/node/235972
#21 has a patch that I confirm is working for all versions. Apply it to the tinymce.module file.

It's only one line so you can do it manualy too.
replace on 187:

document.write("
  <div>
    <a href=\"javascript:mceToggle('edit-$textarea_name', 'wysiwyg4$textarea_name');\" id=\"wysiwyg4$textarea_name\">
      $link_text
    </a>
  </div>"
);

with:
$('#edit-$textarea_name').after("
  <div>
    <a href=\"javascript:mceToggle('edit-$textarea_name', 'wysiwyg4$textarea_name');\" id=\"wysiwyg4$textarea_name\">
      $link_text
    </a>
  </div>"
);

Comments

Drupal tinymce firefox 3 disable enable rich text link and a blank page problem

Just had to let you know after 2.5 hours of troubleshooting this (using drupal.org threads) and with no solution that worked, I stumbled upon your post right before I was going to give up, implemented your suggestion - and it worked... perfectly. Thank you *so* much for caring to share with the world.

Add new comment