Using the wysiwyg module and the latest version of TinyMCE I get the following javascript error:
Chrome:
Uncaught TypeError: Cannot read property 'id' of null (tinymce-3.js line 232)

FireFox
Error: tinyMCE.activeEditor is null
Source File: tinymce-3.js
Line: 232

CommentFileSizeAuthor
#1 1071702.patch624 bytesjelle_s

Comments

jelle_s’s picture

Status: Active » Needs review
StatusFileSize
new624 bytes

a simple if statement seems to fix the problem. And the fullscreen functionality still works as far as I can tell.

twod’s picture

Interesting...
When did you get this error?
Was the editor already loaded?
Was the editor not loaded, but enabled for a [currently inactive] format?
Were there more than one editor on the page (only TinyMCE, different editors) and more than once instance active?
Can you provide steps to repeat the issue from a clean (or near clean) installation?

jelle_s’s picture

Status: Needs review » Closed (cannot reproduce)

Ok this is strange, I can't seem to reproduce the error. I'll close the issue for now, and I'll reopen in when/if I bump in to it again.

jelle_s’s picture

Status: Closed (cannot reproduce) » Needs review

Ok, I found a way to reproduce it. But I'm not sure if it's an issue for this module...

I only seem to get the error when I enable the Drag'n'Drop module (http://drupal.org/project/dragndrop_uploads). There's no stable release of it yet for Drupal 7

sun’s picture

Status: Needs review » Closed (cannot reproduce)

This likely means that http://drupal.org/project/dragndrop_uploads partially breaks script processing on the page for any reason. To be fixed over there.