Hi there,
For some unknown reason, I encounter javascript syntax error every time I load a page containing FCKeditor. The current installed version is 2.2. The javascript error comes from file fckeditorcode_gecko_2.js and line 66. I'm using Mozilla Firefox 1.5.
What could cause the error and how it could be fixed?
Thanks,
Ville
For some unknown reason, I encounter javascript syntax error every time I load a page containing FCKeditor. The current installed version is 2.2. The javascript error comes from file fckeditorcode_gecko_2.js and line 66. I'm using Mozilla Firefox 1.5.
What could cause the error and how it could be fixed?
Thanks,
Ville
RE: JS syntax error / fckeditorcode_gecko_2.j
Well, just to give some more information.
The exact error message follows:
syntax error
http://localhost/FCKeditor/editor/js/fc ... gecko_2.js
Row: 66, Column: 208
Source:
.GetXHTML()+'</body></html>';};D.document.write(E);D.document.close();};FCK.SwitchEditMode=function(){var A=(FCK.EditMode==FCK_EDITMODE_WYSIWYG);document.getElementById('eWysiwyg').style.display=A?'none':'';do
The demo version at fckeditor.net works fine, but even default installation (just unzipping the zip or tgz to my webroot with default paths etc) fails with FCKeditor.
Any ideas?
Thanks,
Ville
RE: JS syntax error / fckeditorcode_gecko_2.j