Completed
Last Updated: 23 Apr 2015 15:30 by ADMIN
ADMIN
Ianko
Created on: 10 Nov 2014 07:04
Category: Editor
Type: Bug Report
1
Content after script tags is stripped when submitted from the HTML mode
In this scenario the EncodeScripts and RemoveScripts filters are disabled, so that script tags can be inserted. Using a script tag with some HTML content after it and submit when still on HTML mode, the content after the script tag will be removed. 

For the time being you can workaround this problem by forcing the editor to switch to Design mode on submitting:

<telerik:RadEditor ID="RadEditor2" runat="server" OnClientSubmit="OnClientSubmit">
</telerik:RadEditor>

<script>
    function OnClientSubmit(sender, args) {
        sender.set_mode(Telerik.Web.UI.EditModes.Design);
    }
</script>
1 comment
ADMIN
Misho
Posted on: 23 Apr 2015 15:30
The issue has been resolved and the fix will be available in Q2 2015.