In firefox 3 only, when creating a new link, the link picker returns a link that looks something like
The browser returns the error:
When editing the link however (right click, edit link from context menu), it works just fine.
Also noted that some context menus are not disappearing from the editor after clicking. (i.e., tables->cell->properties, window opens, context menu remains, window closed, context menu remains)
Suggestions?
W.
<a href="javascript:void(0);/*1214239238720*/">this</a>
The browser returns the error:
Error: uncaught exception: [Exception... "Node cannot be used in a document other than the one in which it was created" code: "4" nsresult: "0x80530004 (NS_ERROR_DOM_WRONG_DOCUMENT_ERR)" location: "/FCKeditor/editor/js/fckeditorcode_gecko.js Line: 38"]
When editing the link however (right click, edit link from context menu), it works just fine.
Also noted that some context menus are not disappearing from the editor after clicking. (i.e., tables->cell->properties, window opens, context menu remains, window closed, context menu remains)
Suggestions?
W.
Re: FCK Link picker errors in FF 3
These problems should have been fixed as of v2.6.1 (and we're going to release 2.6.2 today if there's no critical bugs discovered).
Re: FCK Link picker errors in FF 3
in the fckeditor/editor/dialog/fck_link/fck_link.js I replaced in the Ok function the line: oLink = oEditor.FCK.CreateLink( sUri ) ; with this code:
Takes care of the immidiate problem.
Re: FCK Link picker errors in FF 3
luuletaja: Thanx for the workaround solution. It works, exept that the style of the link is different. While normaly links have blue color after I use the workaround they are black. Anyway the generated html is correct, thanks.
Re: FCK Link picker errors in FF 3
The changed part in fck_link.js now reads:
As mentioned, this is within the Ok function.
Re: FCK Link picker errors in FF 3
I think it's better like this for IE
Re: FCK Link picker errors in FF 3
Old code I had:
New code:
In fact, I only replaced document.evaluate with this.EditorDocument.evaluate
Re: FCK Link picker errors in FF 3
I changed the code to this.EditorDocument.evaluate in my 6.2.3 OpenCms installation running fckeditor 2.3.2. and then when I try to edit a page the toolbar disappears altogether. The only way to get it back is to change the script back to the original code...
This might be specific to openCms, but thought I would try to get help anyways.
Thanks,
FCK Link picker errors only chrome
Hi,
i have some problem image url link not append only chrome ..
ok button not working in chrome...
thanks
Attachments: