Hi,
I have the following XHTML page to edit (W3C validated successfully):
<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test</title> </head><body> <h1>Welcome</h1> <p>Sample text.</p> </body> </html>
My FCKEditor 2.6.4 runs in FCKConfig.FullPage=true mode. If I open that XHTML page with FCKe in IE8, select "Sample", open the link dialog, type in "../test" manually and then conclude with "OK", it first creates the link. Afterwards, it throws a JS error (German error message: "Ungültiges Argument", could be translated as "Invalid parameter"). I tracked the error down to fckeditorcode_ie.js, line 64, column 1218, "B.select();". Well... select() has no parameter at all , and B itself is non-null.
This error is exclusive to IE8. I can't reproduce it in IE7.
Any suggestions?
Oliver
Re: Insert Link fails on IE8
I guess that this is the problem:
http://dev.fckeditor.net/ticket/3181
If you apply the patch and then rebuild the source you can check if the error goes away, in that case please, add a note to explain a real situation where the error happens (I just knew that it will break, but didn't search for a testcase)
Re: Insert Link fails on IE8
I think my first post is a good test case in fact. While only advanced users might type in an "../url" manually, I'm running FCKEditor with a custom file browser, and that one always generates relative links.
Re: Insert Link fails on IE8
Re: Insert Link fails on IE8
Have a look at
http://docs.fckeditor.net/FCKeditor_2.x ... _Guide/SVN
I did not choose to download the nightly build, but simply applied the patch and then ran the releaser script. You'll need PHP for that (which is not my favourite development platform either), but it worked well for me!
Re: Insert Link fails on IE8
Thanks for replying.
Are you refering to FCKreleaser? Could you provide me a quick guide on how to use it?
Thanks.
Re: Insert Link fails on IE8
Just in case anyone have the same problem about how to compile the fckeditor...
viewtopic.php?f=6&t=10099&p=26752&hilit=+compile#p26752