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>"
);

Add new comment