Hi all,
Hopefully someone can help me out with this one.
I was having problems with FCK 2.1.1 so upgraded to the latest (2.2), however the problem remains...
When I attempt to insert a new link, clicking the OK button in the link dialog causes a javascript error:
Error: this.Command.GetState is not a function
Source File: http://localhost/FCKeditor_2.2/editor/j ... gecko_2.js
Line: 37
It is *exactly* the same error in versions 2.1.1 and 2.2.
Also, I can edit existing links OK. It is just the creation of a new link that has this problem.
Here's what I do to insert a link:
-highlight the text to link from and click the Insert Link icon in the toolbar
-Link Type left unchanged (URL)
-Protocol left unchanged (http://)
-URL set to any valid address, Eg http://www.google.com
-I do not visit the other Tabs.
-Click the OK button, the above error is produced , the link is NOT set in the editor's textarea and the link dialog remains open.
Any help or suggestions?
Thanks in advance,
Marcus
Wed, 03/01/2006 - 20:45
#1
Resolved
Hi,
This might seem strange but I tracked the problem to a custom plugin I had created.
If I removed the plugin I was able to successfully insert new links.
The plugin was working well so I am not exactly sure what the problem was. In the end I rewrote it and everything is fine.
If you are interested, please see my HOW-TO on creating a Combo plugin at http://sourceforge.net/forum/forum.php? ... _id=257180 (this is for the new and improved version that resolved my insert link problem).
Safari
"Safari has some limits that goes beyond the editing features and that are key things to make the editor work. For now, I’m stumbling across one of the most important limits: it is not possible to load scripts dynamically (used for custom configurations, plugins and the editor code itself). I've reported this problem to the WebKit developers."
But the new (nightly) builds of safari work corectly using the "LoadScript" files you provided when you submitted the bug.
So with that problem behind you where are we at??