RadEditor strips urls pointing to the current page when MakeUrlsAbsolute is enabled. Steps to reproduce: 1. Open http://demos.telerik.com/aspnet-ajax/editor/examples/builtincontentfilters/defaultcs.aspx 2. Clear the content of the Editor, swith to html mode and paste the following content: test <a href="http://demos.telerik.com/aspnet-ajax/editor/examples/builtincontentfilters/defaultcs.aspx" target="_self">2.2.2</a> <br> <table bordercolor="#000000" border="1" cellspacing="0" cellpadding="2"> <tbody> <tr> <td style="text-align: center; vertical-align: middle;" rowspan="2"><strong>Text</strong></td> </tr> </tbody> </table> 3. Switch to Design mode and back to html mode. Result: The content will be stripped like follows: test <a href="#000000" border="1" cellspacing="0" cellpadding="2"> <strong>Text</strong> </a>
If a list with some non-default formatting in the bullet points is pasted, the custom formatting is not applied. For example, changing the font-size of a bullet point in MS Word list, will be pasted only with relevant formatting in the text node, but will leave the <li> elements stripped out. It would be nice if there is additional logic to apply the proper formatting in the bullet points accordingly to the one copied from MS Word.
I've had some complaints from user on a page with 2 RadEditors. If they go to a 2nd page and then hit the 'back' button, all the other controls on the page have what they last typed in, but not the 2 radEditors.
<h1>Editor 1</h1>
<telerik:RadEditor ID="editor1" runat="server" RenderMode="Lightweight"></telerik:RadEditor>
<h1>Editor 2</h1>
<telerik:RadEditor ID="editor2" runat="server" RenderMode="Lightweight"></telerik:RadEditor>
When the fore/backcolor of the Editor is changed through its toolbar, the same color is set to all Editors on the page. The problem is reproducible in Lightweight rendering. Video: https://www.screencast.com/t/YQ4OnNmu
Content font famility is changed when a word is spell checked in Chrome in Windows 7. Video: https://www.screencast.com/t/Y358IWoWz Steps to reproduce: Paste the following content in this demo: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx <span id="ctl10_supportMessagesRepeaterControl_repeaterMessages_ctl11_lblMessageText" class="text"><span style="font-family: Arial; font-size: small; background-color: #ffffff;">Dear Telerik </span><br style="font-family: Arial; font-size: small; background-color: #ffffff;" /> <br style="font-family: Arial; font-size: small; background-color: #ffffff;" /> <strong>Notice: Issue: 2016: WestenBook Help and Test<br /> Please check it 20170828 </strong><span style="font-family: Arial; font-size: small; background-color: #ffffff;"></span></span>
The content is not scrolled to the end of the pasted content in IE11 - the scrollbar keeps its initial position instead. The issue is reproducible in IE (tested in IE11) and Chrome, but not in Firefox nor standard editable iframe. Steps to reproduce: 1. Open in IE: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx 2. Paste big enough content, so the scrollbar will be shown Actual: The scrollbar stays on the top. Expected: The content area is scrolled to the end of the pasted content Possible workaround could be creating a temporary selectable element after the pasted content, which to be selected manually: <telerik:RadEditor ID="txtMessage" runat="server" OnClientPasteHtml="OnClientPasteHtml"> </telerik:RadEditor> <script> function OnClientPasteHtml(editor, args) { if (args.get_commandName() == "Paste" && $telerik.isIE) { args.set_value(args.get_value() + "<div id='selectableEl'></div>"); setTimeout(function () { var selectedEl = editor.get_document().getElementById("selectableEl"); console.log(editor.getSelectedElement()); Telerik.Web.UI.Editor.Utils.scrollTo(selectedEl, editor); $telerik.$(selectedEl).remove(); }, 0); } } </script>
I found the Rad Editor track changes feature as useful control in telerik. As many software or finance companies have their operations going on, on each stage they would require to change their BRD, UD, Product Documents etc. to keep track of the change the editor is useful.
I would like to add some points for improvement, that we have costumized in our portal.
1) Listing of all the changes in left side of the editor (Added/ Deleted/ Replaced).
2) Can track text replacement also.
Thank you,
We have an issue where the RadEditor context menu for <td> element doesn't get displayed. It throws a "Permission Denied" error. Within <td> the table toolbar is not functional either. To reproduce: In an aspx page, create an updatepanel with a LoadContent button, RadEditor and Save button. 1. Click on Load Contents button 2. RadEditor with text "Loaded" will get displayed 3. Insert a table 4. Go to a table cell and verify context menu for td shows fine 5. Click Save 6. Go to a table cell and right click - context menu doesn't show (If you have IE developers tool, you will see "Permission Denied" error.) ASPx page: <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <asp:UpdatePanel ID="upd" runat="server"> <ContentTemplate> <asp:Button ID="btnLoad" runat="server" Text="Load Contents" OnClick="btnLoad_Click" /> <telerik:RadEditor ID="HTMLEditor" runat="server"></telerik:RadEditor> <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" UseSubmitBehavior="false" /> </ContentTemplate> </asp:UpdatePanel> </asp:Content> C# Code: protected void Page_Load(object sender, EventArgs e) { } protected void btnSave_Click(object sender, EventArgs e) { HTMLEditor.Content = HTMLEditor.Content + " updated"; } protected void btnLoad_Click(object sender, EventArgs e) { HTMLEditor.Content = "Loaded"; }
I recently updated my website with the dll patch telerik provided for the cryptographic weakness: http://www.telerik.com/support/kb/aspnet-ajax/details/cryptographic-weakness?utm_medium=email After the update I found that the pages which were using the RadEditor control and several other controls was not loading and throwing this error: Parser Error Message: Decryption key specified has invalid hex characters. Several other controls are throwing this error but I cannot delete controls one by one and check which ones are having this problem. But I checked for the RadEditor and it was throwing this error. Nothing else is there on the page while testing other than this control. This does not happen on a plain new website and is happening when we have the sql mermbership and machine key configured. We are using passwordFormat as encrypted in sql membership config and cannot remove machine key. If you got to test it, then test it on some already configured machine key and sql membership website. I have attached screenshots for this error and telerik dll patch in use currently. We are on a production server and we need a solution for this issue ASAP.
When track changes disabled the backspace is OK: - User typed two lines (1) & (2) - At the beginning of the line (2) user presses the backspace key, it successfully appended the line (2) with line (1) (where there was a space available). When track changes enabled the backspace does not work as expected: - User typed two lines (1) & (2) - At the beginning of the line (2) user presses the backspace key, it removes the end of the character in line (1).
How to replicate the issue 1. Using the attached document, TestSample1.docx, copy and paste the content into the RADEditor and choose to remove Word Format. 2. Observe the styling and the format of the pasted content in the editor. You will notice that the table will not appear properly and the font styling and size and all remove instead of converted. 1. Using the attached document, TestSample2.docx, copy and paste the content into the RADEditor and choose to remove Word Format. 2. Observe the styling and format of the pasted content in the editor. In this case, you will notice that the table is intact and font styling and size are converted to HTML format. The difference between the TestSample1.docx and TestSample2.docx is one has numbering in Heading. The numbering appears to have affected the result of pasted content from MS Words. The expected behaviour would be the same as the test result from TestSample2.
Given you have a table, where a row has multiple cells containing rowspans.
And there are also cells with no rowspan between them.
E.g. Starting HTML
<table>
<tbody>
<tr>
<td rowspan="2">A1</td>
<td>B1</td>
<td rowspan="2">C1</td>
</tr>
<tr>
<td>B2</td>
</tr>
</tbody>
</table>
When you delete the row (E.g. delete row 1 in the example above).
Then the cells in the resulting table are in the wrong columns.
E.g. Result HTML
<table>
<tbody>
<tr>
<td>A1</td>
<td>C1</td>
<td>B2</td>
</tr>
</tbody>
</table>
Cells C1 and B2 are in the incorrect columns.
The desired outcome of deleting row 1 would be for all cells to remain in their original columns.
E.g. Desired Result HTML
<table>
<tbody>
<tr>
<td>A1</td>
<td>B2</td>
<td>C1</td>
</tr>
</tbody>
</table>
Bug is reproducible in RadEditor demo using Starting HTML above (in various browsers).
Thank you,
Shane
ConvertWordLists errors out when pasting bullets in a nested table inside another table from Word.
Test with the attached word doc in the https://demos.telerik.com/aspnet-ajax/editor/examples/cleaningwordformatting/defaultcs.aspx demo and you'll get the following error:
RadEditor.js:17416 Uncaught TypeError: Cannot read property 'appendChild' of null
When the RenderMode property is set to Lightweight, File manager dialogs still load with Classic render mode, even when the <add key="Telerik.Web.UI.RenderMode" value="Lightweight" /> is set globally in the web.config:
<telerik:radeditor RenderMode="Lightweight" runat="server" id="mainRadEditor" EditModes="Design" >
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="ImageManager"/>
<telerik:EditorTool Name="DocumentManager"/>
</telerik:EditorToolGroup>
</Tools>
</telerik:radeditor>
This is causing rendering problems and some of the icons do not load.