Hi All,
We are using the aspdotnetstorefront system which has a rad editor as part of its admin system for the saving content.
We have been supplied some javascript when we paste this into the editor and save it to the system, on it's return the javascript block has a lot of the line breaks and some white space removed.
When this is used on the front end of the site it doesn't work because of the new formatting given to the javascript.
I have added contentfilters, stripformattingonpaste and stripformattingoptions.
However these still allow the javascript to be condensed and on some of the settings it even goes as far as allowing the javascript to render dynamic content to the radeditor box.
Does anybody have any advice which they can share?
Many thanks,
Mark
We are using the aspdotnetstorefront system which has a rad editor as part of its admin system for the saving content.
We have been supplied some javascript when we paste this into the editor and save it to the system, on it's return the javascript block has a lot of the line breaks and some white space removed.
When this is used on the front end of the site it doesn't work because of the new formatting given to the javascript.
I have added contentfilters, stripformattingonpaste and stripformattingoptions.
<
tcontrol:RadEditor
runat
=
"server"
AllowScripts
=
"true"
ContentFilters
=
"None"
StripFormattingOnPaste
=
"NoneSupressCleanMessage"
StripFormattingOptions
=
"NoneSupressCleanMessage"
RadControlsDir
=
"rad"
id
=
"radDescription"
>
However these still allow the javascript to be condensed and on some of the settings it even goes as far as allowing the javascript to render dynamic content to the radeditor box.
Does anybody have any advice which they can share?
Many thanks,
Mark