id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 4240,CKEditor does not work with elements with hyphen in their ID,Wiktor Walc,Garry Yao,"Open replacebycode.html sample, change the ID ""editor2"" into ""edi-tor2"", launch it in your browser and an error will occur (and as a result the event instanceReady is not triggered): {{{ invalid assignment left-hand side javascript:void(%20setTimeout(%20function()%7Bdocument.open()%3Bdocument.write(%20window.parent._cke_htmlToLoad_edi-tor2%20)%3Bdocument.close()%3Bwindow.parent._cke_htmlToLoad_edi-tor2%20%3D%20null%3B%7D%2C%200%20)%20) Line 1 }}} Note: '''window.parent._cke_htmlToLoad_edi-tor''' CKEditor should support at least this: `ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens (""-""), underscores (""_""), colons ("":""), and periods (""."").` It seems that the source of this problem is the wysiwygarea plugin: `'window.parent._cke_htmlToLoad_' + editor.name + '` (line 244-246) ",Bug,closed,Normal,CKEditor 3.0,General,,fixed,Confirmed HasPatch Review+,