When creating a tree view with nodes which on click create instances of the RadEditor and pasting inside the content of the second instance throws a JavaScript error. The following workaround will help you avoid this behavior: Set this function to the OnClientLoad property (OnClientLoad = 'OnLoad') function OnLoad(editor, args) { var originalGetPasteIFrame = Telerik.Web.UI.Editor.Utils._getPasteIframe; Telerik.Web.UI.Editor.Utils._getPasteIframe = function (parentDoc, editor) { if ($telerik.isIE8) { $telerik.$(this._pasteIframe).remove(); this._pasteIframe = null; } return originalGetPasteIFrame.call(this, parentDoc, editor); } }
In Q2 2013 the block commands in RadEditor were greatly improved to match desktop editors closely. This means that now block elements like <p> or <div> are required for operations like creating lists, indent/outdent commands. The default value for the NewLineMode property of the control is BR for historical reasons and thus when the end users press enter they do no longer create elements the block commands can work with. Changing it would be a breaking change, however. Here is a list with possible implications of changing the default NewLineMode value to P: Pros: - The default text editing in modern browsers according to HTML5 specifications (https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#the-insertparagraph-command) requires that a paragraph is inserted when enter is pressed - The content generated by the end users by default will integrate better with the improved commands of the control - Most desktop rich text editing applications (like MS Word) insert a paragraph when enter is pressed Cons: - A breaking change in the current control behavior and configuration - When paragraphs are inserted they will add more margins so the final appearance of the content and the editing process will require more height - By default, the underlying rich-text editing engine of Firefox uses BR tags and Chrome's - DIV tags Please use the buttons on the right to vote whether this change should be implemented. If you have anything to add - the comments below can be used.
Similar to the RadComboBox' OnClientFocus event - http://www.telerik.com/help/aspnet-ajax/combobox-onclientfocus.html
When using FormatBlock Tool with text inside <div> element the result differs under the different browsers. IE: - cursor placed inside the <div> with no selection: the <div> tag is replaced by the selected heading. - partially selected text: the <div> is split into two and the selection is wrapped with a heading tag. FireFox: - cursor placed inside the <div> with no selection: a heading tag wraps the whole text and the <div> is preserved as parent element. - partially selected text: the <div> is split into two and the selection is wrapped with a heading tag. Chrome: - cursor placed inside the <div> with no selection: the <div> tag is replaced by the selected heading. - partially selected text: the <div> is split into two and the selection is wrapped with a heading tag.
Steps to reproduce: 1.Type some text in the content of the editor; 2.Press Accept All Track Changes button; 3.Type some other text between two words of the previous text; 4.Press Accept All Track Changes button;
When trying to insert list in a table, the list is inserted outside the td tag. Switching between Html and Design tag causes the list to be removed from the table.
Under IE the get_text() retrieves only one word if there are many in the cells of a table. This breaks the result of the RadEditorStatistics tool.
After upgrading to Q2 2003.2.611, I receive this error when an editor is being rendered, whether in a grid as a columntype, or standalone editor. If I remove the column, my popup comes up fine. I've even tried using the latest internal build to no avail. Error: Unhandled exception at line 3407, column 1 in http://localhost:46674/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_rsmMaster_TSM&compress=1&_TSM_CombinedScripts_=;;Telerik.Web.UI,+Version=2013.2.709.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:69657036-201e-4b8d-ba50-faac1961b436:1569bb5f:63b115ed:874f8ea2:dc7e0bd:30f1f089:92fe8ea0:fa31b949:19620875:490a9d4e 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'registerControlProperties'
When RadEditor is disabled from the client-side (enableEditing and set_editable are set to false) the user is still allowed to indent the content using the Tab key in Internet Explorer.
Steps to reproduce: 1. Insert two lists <ol> <li>test1</li> </ol> <ol> <li>test2</li> </ol> 2. Copy the first list 3. Insert one more list item in the second list and paste the first list Expected: <ol> <li>test1</li> </ol> <ol> <li>test2</li> <li>test1</li> </ol> Actual: <ol> <li>test1</li> </ol> <ol> <li>test2</li> <li> <ol> <li>test1</li> </ol> </li> </ol>
Code for test: <ol> <li>test <ol> <li>test </li> </ol> </li> </ol> 1. Go to the end of the nested list and press 'Enter' twice 2. The nested list is discontinued but by pressing Enter the parent list can not be discontinued.
Under firefox a request for the stylesheet is made but it is never received. Currently, the following workaround resolves the issue: if ($telerik.isFirefox) { setTimeout(function(){ sender.onParentNodeChanged() }, 500); } else { sender.onParentNodeChanged(); }
When ContentAreaMode="Div" RadEditor's Content Area's width automatically re-sizes with the content. If width is applied to reContentArea div element, the problem is resolved. Actual behavior: by placing a long word or pasting an image larger than the content area's dimensions, its width is automatically expanded. (see ActualBehavior.png) Expected Behavior: the content area's width should remain unchanged despite word length and pasted image dimensions. (see ExpectedBehavior.png)
Issue: Error on RadEditor focus withing RadMultiPage To Reproduce: 1)Use updatepanel or radajaxpanel 2)Use RadTabstrip and RadMultiPage with several RadPageViews 3)Add RadEditors to all RadPageViews 4)After first page load, using the ui, click to focus in one RadEditor to see toolbar. 5)Switch Tabs 6)Using the ui click to focus in a different RadEditor, and receive the error. Error: TypeError: this.view is null }else{this.view.hide(); Teleri...8a7831e (line 19237) Version: Bug in product version: 2013.2.611.45 It worked in the version we were using prior: 2012.2.912.40
Radeditor when initially set as visible="false", the toolbar border images never renders when the control is later set to Visible="true".
When the cursor is at the beginning of H2 element and enter key is pressed, the RadEditor adds additional H2 element in NewLineMode='Br'.
The floating toolbars do not appear properly with the new RadWindow Lightweight rendermode. They are too short, backgrounds are missing and sizes are incorrect, so buttons are misaligned and/or overlapping. A workaround is avoiding the lightweight rendermode of RadWindow through the web.config. Add the following in the <appSettings>: *<add key="Telerik.Web.UI.RenderMode" value="Lightweight" />* and other RadWindows that need LightWeight rendering (but they must not be on the same page, or masterPage-contentPage-userControl combination) can have their own RenderMode property set to Lightweight.
Dispose a RadEditor with AJAX (ASP UpdatePanel, RadAjaxpanel, RadAjaxManager) and if you attempt to show a floating toolbar (i.e. all ToolbarMode options except Default and RibbonBar) a JS error is thrown. There are two workarounds: 1) use ASP UpdatePanel with ChildrenAsTriggers=false and updateMode=Conditional 2) override several RadWindow methods to prevent the error (these scripts must be placed just before the closing </form> tag): <script type="text/javascript"> Telerik.Web.UI.RadWindow.prototype._moveElementToShowOutOfView = function () { if (this.view) this.view.moveOutOfSight(); } Telerik.Web.UI.RadWindow.prototype.setVisible = function (toShow) { if (this.view) { if (toShow) this.view.show(); else this.view.hide(); } } </script>