Approved
Last Updated: 06 Aug 2015 13:06 by ADMIN
ADMIN
Created by: Hristo Valyavicharski
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
0

			
Approved
Last Updated: 23 Jul 2015 10:18 by ADMIN
Steps to reproduce:
Run this in IE7 or another IE in IE7 mode:
<telerik:RadEditor ID="RadEditor1" runat="server" EditModes="Preview"></telerik:RadEditor>

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

<script type="text/javascript">
	(function ($T) {
		if ($telerik.isIE7) {
			var prototype = $T.Editor.UI.SizerLegacyIE.prototype;
			var setContentElementHeight = prototype.setContentElementHeight;
			$T.Editor.UI.SizerLegacyIE.prototype.setContentElementHeight = function () {
				setContentElementHeight.call(this);
				var editor = this.editor;
				if (editor.get_mode() != $T.EditModes.Html) {
					var iframeParent = this.getIframe().parentNode;
					if (Math.abs(iframeParent.offsetHeight - editor.get_element().offsetHeight) < 5) {
						iframeParent.style.height = "";
					}
				}
			}
		}
	})(Telerik.Web.UI);
</script>
Approved
Last Updated: 20 Jul 2015 10:25 by Nicolas
Approved
Last Updated: 25 Jun 2015 13:27 by ADMIN
Having the entity in a sentence, and trying to find or find and replace in this sentence, the found word seem to be incorrectly highlighted/selected. Therefore, when trying to replace, incorrect selection is replaced.

A possible fix is adding the entities inside span elements, so that additional inner text nodes are created.

The following code example implements such functionality upon opening and closing the FindAndReplace dialog 
<telerik:RadEditor ID="RadEditor1" runat="server" OnClientCommandExecuted="OnClientCommandExecuted">
    <Content>
        <p>some text.&nbsp; some text.</p>
    </Content>
</telerik:RadEditor>

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

        if ($telerik.isIE && commandName === "FindAndReplace") {
            updateNbspEntities(editor, true);

            var dialog = editor.get_dialogOpener()._dialogContainers[commandName];
            dialog.add_close(function () {
                updateNbspEntities(editor, false);

            });
        }
    };

    function updateNbspEntities(editor, toAddInNodes) {
        var html = editor.get_html(true);

        if (toAddInNodes) {
            // insert all &nbsp; entities inside nodes to fix IE ranges
            html = html.replace(/((&nbsp;)+)/gi, "<span>$1</span>");
        } else {
            // restore them when FindAndReplace dialog is closed
            html = html.replace(/<span>((&nbsp;)+)<\/span>|<font>((&nbsp;)+)<\/font>/gi, "$1");
        }

        editor.set_html(html);
    };
</script>
Approved
Last Updated: 10 Jun 2015 08:04 by ADMIN
ADMIN
Created by: Marin Bratanov
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
0
A simple workaround is to add the needed border via CSS:

            .RadWindow.rwNoTitleBar
            {
                padding-top: 0.5em;
            }
Approved
Last Updated: 18 May 2015 16:03 by ADMIN
ADMIN
Created by: Vessy
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
0
The long code lines in the QSF code viewer are very hard to read as the only way to get the horizontal scroll-bar is to reach the bottom of the page.
Approved
Last Updated: 18 May 2015 07:54 by ADMIN
ADMIN
Created by: Viktor Tachev
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
0

			
Approved
Last Updated: 29 Apr 2015 06:46 by ADMIN
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.
Approved
Last Updated: 17 Apr 2015 11:22 by ADMIN
ADMIN
Created by: Marin Bratanov
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
1
Move the dialog after scrolling to the bottom and its content scrolls either a bit, or to the top (depending on the used browser).
 The scroll position must be preserved and unchanged by the RadWindow control, regardless of the circumstances
Approved
Last Updated: 15 Apr 2015 07:07 by ADMIN
ADMIN
Created by: Rumen
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
0

			
Approved
Last Updated: 14 Apr 2015 15:58 by ADMIN
ADMIN
Created by: Rumen
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
2

			
Approved
Last Updated: 14 Apr 2015 15:32 by ADMIN
ADMIN
Created by: Rumen
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
0

			
Approved
Last Updated: 14 Apr 2015 14:51 by ADMIN
Approved
Last Updated: 14 Apr 2015 14:17 by Mattias
When the HTML content is set with nested list elements and an empty paragraph right after the primary list, deleting this empty paragraph will cause the nested list to go outside the list item.

This matter causes an incorrect HTML markup and additionally causes incorrect tool behavior.

Passing trough Design to HTML cures the issue (invoking the content filters) cures the issue, although there are cases where users cannot be prompted to do that.

Using native events to resolve the backspace behavior:

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

<script type="text/javascript">
    function OnClientLoad(editor, args) {
        editor.attachEventHandler("onkeydown", function (e) {
            if (e.keyCode == 8 && $telerik.isIE10Mode && !$telerik.isIE10) {
                var selElm = editor.getSelectedElement();
                var isCursorInFront = editor.getSelection().getRange().startOffset == 0;
                if (selElm && selElm.nodeName == "P" && isCursorInFront) {
                    editor.attachEventHandler("onkeyup", fixContent);
                }
            }
        });

        var fixContent = function () {
            editor.set_html(editor.get_html(true));
            editor.detachEventHandler("onkeyup", fixContent);
        }
    }
</script>
Approved
Last Updated: 14 Apr 2015 13:59 by ADMIN
ADMIN
Created by: Rumen
Comments: 0
Category: UI for ASP.NET AJAX
Type: Bug Report
0