Hi,
Congratulations on the editor, it's a very fine piece of work!
I've been fitting it into a site which already uses a window.onload call to set up some menus. This causes the editor's content to come up as 'undefined'. I have tried changing my window.onload code to use Simon Willison's addLoadEvent handler, but this doesn't fix the problem.
Is there a work-around for the hard-coded window.onload calls within FCKEditor, or does it require other Javascript to be deleted from your website?
Congratulations on the editor, it's a very fine piece of work!
I've been fitting it into a site which already uses a window.onload call to set up some menus. This causes the editor's content to come up as 'undefined'. I have tried changing my window.onload code to use Simon Willison's addLoadEvent handler, but this doesn't fix the problem.
Is there a work-around for the hard-coded window.onload calls within FCKEditor, or does it require other Javascript to be deleted from your website?
RE: window.onload - allowing for multiple cal
RE: window.onload - allowing for multiple cal
Just out of curiousity... if I ever get back to working on fun stuff I'll let you know if I find some solution. Hopefully easy to empliment solution.... if it's even the same problem.
Have you tried wrapping all the onloads in a function and then calling that funciton onload? I think that's what you said in yer previous post, so I figure that's not the solution. Hrm... Goot Luck, and MTFBWY.
RE: window.onload - allowing for multiple cal
As with most CSS designs, my page already had an id="content", hence the problem.
May I suggest that FCKEditor preceeds any of its form inputs with FCK, to prevent clashes?