Hi
I was wondering if anyone could tell me how to insert an image or insert a file from another window into fckeditor?
I had a look at the sample8 files. The way it inserts text is to use call the SetHTML() function. I tried to locate something similar for image or file. The closest I got was the following 2 functions:
InsertElement( e )
FCK.CreateElement = function( tag )
However I don’t know what parameter to pass to the 2 functions. Or if it is the correct method to insert image or file from another window.
Thanks and greatly appreciated,
Miky
I was wondering if anyone could tell me how to insert an image or insert a file from another window into fckeditor?
I had a look at the sample8 files. The way it inserts text is to use call the SetHTML() function. I tried to locate something similar for image or file. The closest I got was the following 2 functions:
InsertElement( e )
FCK.CreateElement = function( tag )
However I don’t know what parameter to pass to the 2 functions. Or if it is the correct method to insert image or file from another window.
Thanks and greatly appreciated,
Miky
