Hi I am using version 7.1.1.0 of the Ajax RadEditor and cannot upgrade. I need to strip out all Word tags and HTML with the exception of bold, italic, underline and some special characters like trademark, and copywright.
I added the following javascript from the documentation so I can strip the tags on the sumbit :
when the page loads I receive the following javascript alert:
"Exception while exeduting client event OnClientLoad Error:Object doesn't support this property or method"
Again all I need to do is remove all word tags, script, span, and div tags.
I added the following javascript from the documentation so I can strip the tags on the sumbit :
<script type='text/javascript'>
function OnClientLoad(editor, args)
{
editor.add_submit(function ()
{
editor.fire('SelectAll');
editor.fire('FormatStripper', {value : 'WORD'});
alert(editor.get_html());
});
}
</script>
when the page loads I receive the following javascript alert:
"Exception while exeduting client event OnClientLoad Error:Object doesn't support this property or method"
Again all I need to do is remove all word tags, script, span, and div tags.