I've been struggling with a problem for weeks. I hope someone could help me.
My situation is (IE6):
When I load the editor, I register an event with "function FCKeditor_OnComplete( editorInstance )" which moves divs in the page with the arrow keys on the num block.
So far so good, the listener works as expected.
Now I use the easyupload plugin to load pages into the editor, the source is loaded with FCK.SetHTML (code);
Well, the SetHMTL kills all listeners. My DIV mover is gone
I tried to reattach the event after calling the SetHTML function but no avail. I read the api, tried the basic functions but couldn't get even them to work.
Finally I have found the SetInnerHtml function which preserves the event handler but some pages are messed up.
so I am really stuck cuz I need my div mover but don't know my setinnerhtml kills my pages.
help would be very much appreciated.
Reattach event after loading page into Editor