When there is a need to open dialogs in browser's window instead of RadWindow, the UseClassicDialogs property is being used. With the release of Q2 2015 the functionality stopped working and throws JS error when a dialog is opened. To workaround this behavior you can apply the JS patch as shown below: <telerik:RadEditor runat="server" ID="RadEditor1"></telerik:RadEditor> <script type="text/javascript"> Telerik.Web.UI.RadDialogOpener.prototype._applyParameters = function (dialogName, container) { //If no parameters provided, return var parameters = this._getDialogParameters(dialogName); if (!parameters) return; var parametersUrlPart = "&dp=" + encodeURIComponent(parameters); var baseUrl = this._getBaseDialogUrl(dialogName); var totalUrlLength = baseUrl.length + parametersUrlPart.length; var parametersPassedFromClient = this._dialogParametersProviderTypeName == ""; var parametersPassedThroughUrl = parametersPassedFromClient && totalUrlLength <= this.get_dialogUrlLengthLimit(); if (parametersPassedThroughUrl) { //NEW: If the dialog features the same URL, do not reload it var curUrl = container.get_navigateUrl(); var url = baseUrl + parametersUrlPart; if (curUrl != url) { if (this.get_useClassicDialogs() || container.isCreated()) { container.setUrl(url); } else { container.set_navigateUrl(url); } } else //Reinitialize { var contentFrame = container.get_contentFrame(); if (contentFrame && contentFrame.contentWindow && contentFrame.contentWindow.$find) { //TODO: Probably implement a global function initializeDialog that will be called automatically - easy for custom dialogs var initDialog = contentFrame.contentWindow.initDialog; if (initDialog) { contentFrame.contentWindow.setTimeout(function () { initDialog(); }, 1); } } } } else { container.setUrl(baseUrl); container.DialogParameters = parameters; } }; </script>
Instructions: In IE11 when we select an image and change from Design to HTML mode or try to apply any paragraph style to it, the browser gets unresponsive. To get a better understanding, please refer to the following videos: http://screencast.com/t/xufHlK0bew http://screencast.com/t/YcVcqygVY7GE Demo page: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx?skin=Default
Such a scenario is reproducible when RadEditor is used in Template container and the control is AJAX-enabled. For example, in an EditTemplate or InsertTemplate. To workaround this bug, you need to assure that the base CSS resource is loaded before RadEditor. To do so, add manually the resource in the head element of the page: <head runat="server"> <title></title> <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <link href='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadEditor), "Telerik.Web.UI.Skins.EditorLite.css") %>' rel="stylesheet" type="text/css" /> </telerik:RadCodeBlock> </head>
The scenario is very specific. It is reproducible only under IE11 when RadEditor is loaded in an iframe, in Div content area mode, with AutoResizeHeight="true" and Skin is set to MetroTouch or BlackMetroTouch
Deleting all content in editor (e.g., Ctrl+A and delete), and switching to HTML mode, an unwanted is always present. Whereas, the content should be empty.
The behavior of Paste tools should be the same as in Firefox, Chrome, etc., where the clipboard access is also forbidden.
The Rad Editor control removes unformatted spaces between differently-formatted words when the user presses Enter key for the first time in IE Steps to reproduce: 1. Go to http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx and clear all the pre-existing text. 2. In the empty editing area, type two words separated by a space. 3. Select the first word but not the space after it, and apply either italics, boldness, or underlining. 4. Select the second word but not the space before it, and apply a different one of those formatting options. 5. Position the cursor at the end of the line, and press Enter Result: The space between the words will vanish. Firefox users will see underlining indicating that the browser considers the new, merged word to be misspelled.
Subsequent showing of an Paste HTML dialogs updates the title with some delay. A possible workaround is using the code from this example: <telerik:RadEditor runat="server" ID="RadEditor1" OnClientCommandExecuted="OnClientCommandExecuted"> </telerik:RadEditor> <script type="text/javascript"> function OnClientCommandExecuted(editor, args) { var command = args.get_commandName(); var dialogContainer = editor.get_dialogOpener()._dialogContainers; var dialogName = ""; switch (command) { case "PasteFromWord": case "PasteFromWordNoFontsNoSizes": case "PasteAsHtml": dialogName = "CleanPasteHtmlContent"; break; default: break; } dialogContainer[dialogName].add_pageLoad(updateTitle); dialogContainer[dialogName].add_show(updateTitle); } function updateTitle(sender, args) { var clientParameters = sender.ClientParameters; if (clientParameters && clientParameters.dialogTitle) sender.set_title(clientParameters.dialogTitle) sender.add_pageLoad(updateTitle); sender.add_show(updateTitle); } </script>
If you try to re-format a paragraph with a link inside to a heading, the final result will be multiple headings split by the link.
In Firefox, 38.0.1, some text inputs cannot be typed into. They can be focused and the cursor appears to be in the input, but you cannot type.
End-users cannot clear class or apply class of block elements (i.e., <p>, <div>, <h1>, etc.,) when a class name already exists.
Web page hangs with long running script error when the Foreground color of table content is cleared in IE11. Steps to reproduce: 1. In IE 11 Go to editor demo http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx 2. Click HTML view and delete everything 3. Copy this into editor <html> <head> <title></title> </head> <body> <table> <tbody> <tr> <td style="color: #000000;">Lorem ipsum</td> </tr> </tbody> </table> </body> </html> 4. Go to design mode highlight some text and click on the "Foreground color" button, select the clear choice (upper left) 5. Web page hangs with long running script error. (It has something to do with that style on the TD)
Using the Image Map Editor to create a mapped area over the entire image, causes the image to be unelectable.
If the content contains html, head and body tags (Full HTML editing), and switching to Design mode causes a slightly slower rendering. If the same HTML is used directly in the, the design mode renders as expected.
As the selection changes when typing inside textbox, JavaScript errors are being thrown.
For example, checkboxes with plain text as labels before them do not appear selected in RadEditor: HTML: Checkbox: <input type="checkbox" />
Using the desktop MS Word, pasting is fine. Using the Online version, the HTML gets messed up with plenty of unneeded DOM attributes and additional elements. It would be best if pasting provides a cleaner HTML as it is when pasting form the desktop MS Word.
Pasting complex lists from MS Word are not properly translated to HTML list nesting. Often, the sub lists are mixed up with their parent lists.
This may result in invalid content being sent to the server or incorrect behavior of the client-side.
The resize handle of the Editor is not visible if only only edit mode is active (e.g. Design mode). Steps to reproduce: 1. Run an Editor with the following configuration: <telerik:RadEditor ID="RadEditor1" runat="server" EditModes="Design" ></telerik:RadEditor> Result: The whole module row is not visible, including the resize handle.