Hello,
I inherited a site that uses activedit 5.0. I need to strip the inline styles
from the activeedit input. I went to their site, and they had the following
script:
<script language="JavaScript">
function aeapi_local_onLoad(aeObject, fieldname) {
ae_onPaste = function(num) {
DHTMLSafe=aeObjects[num];
window.event.returnValue = true;
var tr = DHTMLSafe.DOM.selection.createRange();
tr.execCommand("Paste");
//replaceFontsWithSpans(DHTMLSafe, DHTMLSafe.DOM.body, null);
condenseSpans(DHTMLSafe, DHTMLSafe.DOM.body, null);
ae_cleanWord(DHTMLSafe);
}
}
</script>
However, it doesn't seem to be working. I don't know javascript, so am I
missing something? I pasted it into the head and the body of the page where I
have my form. Please help!
Thank you.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3317
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15