Hi,
I'm trying to use FCKEditor in the CMS of a site, but I'm running into three problems that I've been unable to solve using the FCK settings file:
1. FCKEditor removes any embedded JavaScript, and I need it to stop doing this,
2. When an image (from the same site) in a popup window is dragged-and-dropped into FCKEditor, FCKEditor uses a relative path to the image that is incorrect, such as "../../../upl_images/40th_anniversary_baloons.jpg", even though the upl_images folder is right off the site root,
3. FCKEditor replaces anchors with "<img _fckanchor="true" _fckrealelement="2" _fckfakelement="true"...". I realize this is to show a visible anchor in the editor, but how can I get it to put the correct anchor tag back in when the data is posted?
I've searched everywhere to find the answers to these, but to no avail. Anyone here know how to resolve these?
Thanks,
Russ
I'm trying to use FCKEditor in the CMS of a site, but I'm running into three problems that I've been unable to solve using the FCK settings file:
1. FCKEditor removes any embedded JavaScript, and I need it to stop doing this,
2. When an image (from the same site) in a popup window is dragged-and-dropped into FCKEditor, FCKEditor uses a relative path to the image that is incorrect, such as "../../../upl_images/40th_anniversary_baloons.jpg", even though the upl_images folder is right off the site root,
3. FCKEditor replaces anchors with "<img _fckanchor="true" _fckrealelement="2" _fckfakelement="true"...". I realize this is to show a visible anchor in the editor, but how can I get it to put the correct anchor tag back in when the data is posted?
I've searched everywhere to find the answers to these, but to no avail. Anyone here know how to resolve these?
Thanks,
Russ

RE: embedded JavaScript, full URLs, anchors
Point 2 is hard, seems like the new version will have some improvents in this field, and with a proper BaseHref it would be much better (I hope so). But I would suggest to avoid dragging images from other windows, it's better if the image picker it's used.
3rd point suggest that you are directly accessing the contents of the editor, and so you get the internal html instead of the HTML code provided by GetXHTML or just letting the form be sent to the server.