hi all - I have two projects I want to do this for, but subtly different.
in the first, a CMS, I want to be able to drag from a list of page name into the FCKeditor and have a link created in the FCKeditor that links to the correct URL. I can probably manage this by changing the list of names into a list of actual links, but that would mess with some other things.
in the second, an IDE, I want to drag from a list of object names and have a new object created in the FCKeditor with code such as "<cwf id='8' title='an object'></cwf>" based on the object's ID.
Anyone done anything like these before?
in the first, a CMS, I want to be able to drag from a list of page name into the FCKeditor and have a link created in the FCKeditor that links to the correct URL. I can probably manage this by changing the list of names into a list of actual links, but that would mess with some other things.
in the second, an IDE, I want to drag from a list of object names and have a new object created in the FCKeditor with code such as "<cwf id='8' title='an object'></cwf>" based on the object's ID.
Anyone done anything like these before?

RE: drag and drop into fckeditor
RE: drag and drop into fckeditor
What I need is an event which is raised when an object is dropped into FCKeditor, which I can then overload with a custom handler which will insert the actual HTML I wanted - not the external HTML which might just be a representation.
In the example you cited, I think an actual object is moved from one location to another. That's not quite what I need.
I've left this running as an background thought in my head for a few weeks. A solution is presenting itself slowly, but it will be another while before it is presentable.
I'll post it here when I finally solve it.
RE: drag and drop into fckeditor
http://en.wikipedia.org/wiki/DOM_Events
http://www.quirksmode.org/js/events_compinfo.html
http://codingforums.com/archive/index.php?t-76715.html
RE: drag and drop into fckeditor
Re: drag and drop into fckeditor
Is there a way in the API to temporarily turn off the mouse over highlights in FCKeditor while I'm dragging the main div?
Thanks