Completed
Last Updated: 21 Mar 2014 16:12 by ADMIN
When text is pasted in RadEditor with ContentAreaMode="Div" under Firefox and Chrome, the cursor will be positioned before the pasted text.
Completed
Last Updated: 30 Sep 2013 14:52 by ADMIN
When the height of the RadEditor is too small to accommodate the tools with the given width calling repaint() causes the appearance of the control to break due to incorrect calculations. This means that the control has an optimal (minimal) height.
The repaint() method is automatically called when the control is shown after being initially hidden on the page (e.g. after a partial postback)

Possible workarounds:
- increase the height of the control. For example, 640px width with 264px height and the default set of tools work well
- reduce the number of used tools. Effectively leaves more height for the control to use
- use ToolbarMode=ShowOnFocus to avoid having the tools in the main content initially, they will be shown in a popup when the content area is focused
Completed
Last Updated: 10 Nov 2014 13:49 by Elena
Whenever there are texts and text boxes, checking the spelling duplicates the text 
Video reproduction: http://screencast.com/t/oShyk0ww
Completed
Last Updated: 04 Sep 2019 14:22 by ADMIN
When I call OnParentNodeChanged on an Editor, while viewing the page using HTTPS, I get the following message in IE:
SEC7111: HTTPS security is compromised by (null) 
Won't Fix
Last Updated: 08 Apr 2016 12:50 by ADMIN
Rejected with the following description: 

RadEditor performs complex operation in order to manage its content when switching between Design and HTML modes like cloning elements and inserting content in iframe elements. Internet Explorer, however, has some limitations related to that particular operations that prevents the control from preserving the onload attribute (e.g., attributes are not preserved when the iframe is cloned, writing html to an editable iframe doesn't always preserve the event attributes).

In order to handle that scenario you can replace the event attributes with JavaScript events. For example:

                                                                       

<telerik:RadEditor ID="RadEditor1" runat="server" ContentFilters="ConvertToXhtml">
            <Content>
                <html>
                    <head>
                        <script>
	window.onload = function () {
		alert(1);
	}
                        </script>
                    </head>
                    <body >
                        some text
                    </body>
                </html>
            </Content>
        </telerik:RadEditor> 

Note: the ConvertToXhtml filter should be enabled as well.
Completed
Last Updated: 21 May 2014 15:14 by ADMIN
This method is used to fix some layout issues of the editor. For each call of this method, the editors content grows with one BR element. Due to that the content area is getting with additional lines.

A possible resolution is incorporating the following override that fixes the onParentNodeChanged method: 

<telerik:RadEditor runat="server" ID="RadEditor1">
</telerik:RadEditor>

<script type="text/javascript">
	var oldOnParentNodeChanged = Telerik.Web.UI.RadEditor.prototype.onParentNodeChanged;

	Telerik.Web.UI.RadEditor.prototype.onParentNodeChanged = function () {
		oldOnParentNodeChanged.call(this);

		if (this.get_filtersManager().getFilterByName("MozillaRemoveLastBr")) {
			this.get_filtersManager().getFilterByName("MozillaRemoveLastBr").getHtmlContent(this.get_contentArea());
		}

	};
</script>

Completed
Last Updated: 12 Jun 2015 06:30 by ADMIN
The following commands does not work with the Format Painter tool.

   1. underline 
   2. strikethrough 
   3. back color
   4. fore color
   5. bold
Completed
Last Updated: 04 Sep 2019 15:47 by ADMIN
Completed
Last Updated: 08 Sep 2015 12:30 by ADMIN
The Node Inspector module is not working when inspecting form elements that are inserted via the 'Insert Form Element' command in IE11.
Unplanned
Last Updated: 17 Mar 2015 11:09 by Anthony
Hi,

Browser : IE11
Telerik version : 2013.3.1114.40 - Q3 2013 release

Steps to reproduce the issue :
1 . Copy ordered list from MS WORD 2010
2.  Paste it in RadEditor
3.  View html markup in radeditor

Each text within LI tag is wrapped by P tag and this issue occurs only in IE11 browser.

Ideally ,p tags should be stripped off.

Looking forward to your response.

Thanks in advance,
Anthony




Completed
Last Updated: 21 Aug 2014 13:42 by ADMIN
This issue is causing inconvenient experience when the new line mode is set to add paragraphs and the cursor is set right after the link element.
Completed
Last Updated: 13 Jan 2014 10:41 by ADMIN
Setting a content as the following one:

<html>
    <head>
    </head>
    <body>
        <h2>content</h2>
    </body>
</html>

After switching the editor mode and creating a post back, a JavaScript error is thrown in the browser console. 


A possible resolution is overriding the detachEvents methods of the editor with the provided ones. You can use the following setup as example, note that the script tag should be after the RadEditor declaration to override the methods correctly:

<telerik:RadEditor runat="server" ID="RadEditor1" ContentFilters="none">
    <Content>
        <html>
            <head>
            </head>
            <body>
                <h2>content</h2>
            </body>
        </html>
    </Content>
</telerik:RadEditor>
<asp:Button Text="text" runat="server" OnClick="Unnamed_Click" />

<script type="text/javascript">
    Telerik.Web.UI.Editor.NodesTracker.prototype.detachEvents = function () {
        if (!this.isActive) return;
        var contentArea = this.editor.get_contentArea();
        this.editor.remove_submit(this.cleanUpDelegate);
        try {
            $telerik.removeHandler(contentArea, "keyup", this.keyupDelegate);
            $telerik.removeHandler(contentArea, "keydown", this.keydownDelegate);
        }
        catch (ex) { }
        $telerik.removeExternalHandler(contentArea, "paste", this.pasteDelegate);
    }

    Telerik.Web.UI.Editor.EmptyWhitespaceCharTracker.prototype.detachEvents = function () {
        var contentArea = this.editor.get_contentArea();
        this.editor.remove_submit(this.cleanUpDelegate);
        try {
            $telerik.removeHandler(contentArea, "keypress", this.cleanUpDelegate);
        }
        catch (ex) { }
        $telerik.removeExternalHandler(contentArea, "mousedown", this.cleanUpDelegate);
        $telerik.removeExternalHandler(contentArea, "touchstart", this.cleanUpDelegate);
    }
</script>
Completed
Last Updated: 20 Dec 2013 11:51 by ADMIN
The problem is due to changes related to the selection object of the IE11 browser. Because of that the getSelectedElement() method retrieves wrong values. 

This issue causes incorrect behavior of the following features/methods:

   - The DOM inspector module shows incorrect value;
   - The Image Properties dialog opens with blank attributes;
   - The Image Map Editor dialog alerts that image is not selected;
   - The getSelectedElement() method retrieves incorrect value;
   - When a table is selected, an incorrect alert message is being thrown on opening the Table Properties dialog from the context menu.

Possible resolution is to use the following example setup with the function that overrides the original Selection prototype:

<telerik:RadEditor runat="server" ID="RadEditor1">
</telerik:RadEditor>

<script type="text/javascript">
    Telerik.Web.UI.Editor.Selection.prototype.getParentElement = function () {
        var rng = this.getRange();
        if (!rng) return null;

        //IE
        if (rng.commonAncestorContainer)//MOZ, Safari, Opera
        {
            var theSelection = this._window.getSelection();


            //Safari!
            var startContainer = rng.startContainer ? rng.startContainer : theSelection.baseNode;
            var endContainer = rng.endContainer ? rng.endContainer : theSelection.extentNode;
            var startOffset = rng.startOffset != null ? rng.startOffset : theSelection.baseOffset;
            var endOffset = rng.endOffset != null ? rng.endOffset : theSelection.extentOffset;

            var anchorOffsetChild = theSelection.anchorNode.childNodes[theSelection.anchorOffset];

            if (anchorOffsetChild && (anchorOffsetChild.nodeName == "IMG" || (startContainer == endContainer && (endOffset - startOffset) == 1))) {
                return anchorOffsetChild;
            }
            else {
                if ($telerik.isSafari) // new fix context menu in Safari and Chrome
                {
                    var tagName = (theSelection.anchorNode && theSelection.anchorNode.parentNode) ? theSelection.anchorNode.parentNode.tagName : "";
                    if (tagName == "TH" || tagName == "TD") {
                        return theSelection.anchorNode.parentNode;
                    }
                    else if (tagName == "TR") {
                        return theSelection.anchorNode;
                    }
                }

                if (!rng.commonAncestorContainer.tagName) {
                    if (this._window.document == rng.commonAncestorContainer && theSelection.baseNode)//SAFARI
                    {
                        return theSelection.baseNode.parentNode;
                    }
                    return rng.commonAncestorContainer.parentNode;
                }
                else {
                    // Workaround for issue related to the retrieved
                    // Image element under IE11
                   if (rng.commonAncestorContainer.firstElementChild
                                && (rng.commonAncestorContainer.firstElementChild.tagName === "IMG"
                                || rng.commonAncestorContainer.firstElementChild.tagName === "TABLE")) {
                                return rng.commonAncestorContainer.firstElementChild
                            }

                    return rng.commonAncestorContainer;
                }
            }
        }
        else if (rng.length) {
            return rng.item(0);
        }
        else if (rng.parentElement) {
            return rng.parentElement();
        }
        else {
            return null;
        }
    };
</script>

Note that the script tag should be placed right after the RadEditor declaration.
Unplanned
Last Updated: 18 Dec 2013 09:01 by ADMIN
When multiple paragraphs are set into the content and selected, the font name tool of the StyleBuilder dialog is merging all f them into one span.
This causes unexpected behavior and incorrect text manipulation. 
Completed
Last Updated: 20 Jan 2016 16:43 by Sajid
ADMIN
Created by: Rumen
Comments: 1
Category: Editor
Type: Bug Report
1

			
Unplanned
Last Updated: 15 Dec 2014 14:59 by ADMIN
When paragraphs are pasted from e.g., MS Word, multiple BR tags are pasted instead of the corresponding amount needed.

The flowing custom handler shows how this can be handled as per to the specific requirements:

<telerik:RadEditor runat="server" ID="RadEditor1"
    OnClientPasteHtml="OnClientPasteHtml"
    StripFormattingOptions="AllExceptNewLines">
</telerik:RadEditor>

<script type="text/javascript">
    function OnClientPasteHtml(editor, args) {
        var commandName = args.get_commandName();
        var contentToPaste = args.get_value();

        if (commandName === "Paste") {
            contentToPaste = contentToPaste.replace(/(<br\/>)+/gi, "<br/>");

            args.set_value(contentToPaste);
        }
    }
</script>
Completed
Last Updated: 16 Feb 2015 14:26 by ADMIN