We are using VS 2013 and Telerik version 2014.1.403.40.
On some occasions we are getting documents in the Telerik RadEditor which when edited are creating large numbers of CRLFs in the HTML code. Near the top of the document there will be a section which appears to be a comment <!-- followed by thousands of CRLFs with a single line of actual code appearing every 32768 characters. So there are 16392 CRLFs followed by a single line (like /* Font Defintions */) then another 16392 CRLFS and another line of code. This continues for approximately 250,000 lines until the uncomment line appears -->
If this is left in the document IE "freezes" indicating a long script is running. If I remove the extra commented out section the document loads correctly and quickly.
These documents are edited within the RadEdit and saved there, they are not pasted from Word or other editing software. Can you tell me why this gigantic section of commented code is present and how can I keep it from having this issue? This is happening with both IE11 and IE8
This is the code for the ASPX page:
<tr>
<td colspan="2">
<telerik:RadEditor ID="reContent" ContentAreaMode="Iframe" EditModes="Design,Preview" ToolbarMode="Default" ToolsFile="~/Telerik/ToolsFile.xml" ContentAreaCssFile="EditorContentArea.css" AutoResizeHeight="true" Width="100%" runat="server">
<ImageManager MaxUploadFileSize="1000000" EnableImageEditor="true" />
<SpellCheckSettings DictionaryPath="~/Telerik/RadSpell" AllowAddCustom="false" SpellCheckProvider="EditDistanceProvider" EditDistance="2" FragmentIgnoreOptions="All" WordIgnoreOptions="UPPERCASE,WordsWithNumbers" />
</telerik:RadEditor>
</td>
</tr>
On some occasions we are getting documents in the Telerik RadEditor which when edited are creating large numbers of CRLFs in the HTML code. Near the top of the document there will be a section which appears to be a comment <!-- followed by thousands of CRLFs with a single line of actual code appearing every 32768 characters. So there are 16392 CRLFs followed by a single line (like /* Font Defintions */) then another 16392 CRLFS and another line of code. This continues for approximately 250,000 lines until the uncomment line appears -->
If this is left in the document IE "freezes" indicating a long script is running. If I remove the extra commented out section the document loads correctly and quickly.
These documents are edited within the RadEdit and saved there, they are not pasted from Word or other editing software. Can you tell me why this gigantic section of commented code is present and how can I keep it from having this issue? This is happening with both IE11 and IE8
This is the code for the ASPX page:
<tr>
<td colspan="2">
<telerik:RadEditor ID="reContent" ContentAreaMode="Iframe" EditModes="Design,Preview" ToolbarMode="Default" ToolsFile="~/Telerik/ToolsFile.xml" ContentAreaCssFile="EditorContentArea.css" AutoResizeHeight="true" Width="100%" runat="server">
<ImageManager MaxUploadFileSize="1000000" EnableImageEditor="true" />
<SpellCheckSettings DictionaryPath="~/Telerik/RadSpell" AllowAddCustom="false" SpellCheckProvider="EditDistanceProvider" EditDistance="2" FragmentIgnoreOptions="All" WordIgnoreOptions="UPPERCASE,WordsWithNumbers" />
</telerik:RadEditor>
</td>
</tr>