Completed
Last Updated: 21 Jan 2020 13:34 by ADMIN
Release LIB 2020.1.127 (01/27/2020)

As suggested in the orginal support ticket 1430154 I'm opening a separate bug reprot for the RadRichTextBox.

Visual Studio 2019 solution to reproduce the problem is attached to the bug report.

Completed
Last Updated: 12 Feb 2020 13:23 by ADMIN
Release LIB 2020.1.217 (02/17/2020)

When the copied document fragment is replaced during paste within a single RadDocument:

ClipboardEx.SetDocument(new DocumentFragment(doc));

Ordered list are not pasted correctly.

Workaround:

Bypass paste and use the InsertFragment API

this.radRichTextBox.InsertFragment(new DocumentFragment(doc));
e.Cancel = true;

Unplanned
Last Updated: 14 Oct 2019 06:45 by ADMIN
Bullet and numbered lists are still displayed as toggled in the ribbon even though the user has broken the lists. The toggle is removed only when the user clicks over the document.
Unplanned
Last Updated: 22 Oct 2019 15:30 by ADMIN
Missing bookmark annotation after cut command or move selected text which includes bookmark annotation
Unplanned
Last Updated: 23 Oct 2019 07:53 by ADMIN
HTML export of RadRichTextBox to perform font-size export in different units.

If you export a document using the HtmlFormatProvider, all style properties which contain measurement units are exported in pixel units. This makes the exported documents look much smaller when opened on devices with higher pixel density.

WORKAROUND: use Regex to find, convert and replace the font-size attributes

            HtmlFormatProvider html = new HtmlFormatProvider();
            string res = html.Export(document);
            Regex regex = new Regex(@"font-size: [0-9]*\.?[0-9]*px");
            Match match = null;

            do
            {
                match = regex.Match(res);
                if (!match.Success)
                {
                    break;
                }

                string value = match.Value.Substring("font-size: ".Length, match.Value.Length - "font-size: ".Length - "px".Length);
                double pts = double.Parse(value) * 72 / 96;
                res = res.Replace(match.Value, @"font-size: " + Math.Round(pts, 4) + "pt");
            } while (match.Success);

            File.WriteAllText("output.html", res);
Unplanned
Last Updated: 18 Nov 2019 06:36 by ADMIN
It should be located on a new line. Instead, it is located on the same line where the text is.
Unplanned
Last Updated: 19 Nov 2019 09:05 by ADMIN
1. Open RadRichTextBox
2. Click to Home tab -> Paragraph group-> Multilevel list button
4. Click to "Define New List Style"
5. In "Apply formatting to" select 4th level. Don't select '1','2','3' beforehand, select '4' right after '1'st level.

Observed result: All text except the 4th level is bold.

Expected result: Only 4th level text is bold.
Declined
Last Updated: 13 Jan 2020 14:18 by ADMIN

To reproduce:

  • Create two lists one after another
  • Select the second by using the keyboard 
  • Press delete and then Ctrl+z (undo)

This works fine when the list is selected with the mouse. 

Unplanned
Last Updated: 03 Dec 2019 11:44 by ADMIN

To reproduce: 

protected override void OnClosing(CancelEventArgs e)
{
    this.radRichTextBox.Document = null;
    base.OnClosing(e);
}

Completed
Last Updated: 13 Feb 2020 07:11 by ADMIN
Release R1 2020 SP1
RichTextBox: wrong content when pasting RTF with an encoding other than utf-8.
Unplanned
Last Updated: 03 Jan 2020 18:11 by ADMIN
Created by: Bob
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Support should be implemented for importing height CSS property applied to HTML table cells.
Unplanned
Last Updated: 06 Jan 2020 12:22 by ADMIN
Use Destination styles does not appear in the paste options popup control. It only appears in the RadRibbonDropDownButton.
Unplanned
Last Updated: 09 Jan 2020 14:49 by ADMIN
When a hyperlink uri contains a symbol that needs to be escaped (e.g. ')'), the exported document is corrupted.
Completed
Last Updated: 07 Feb 2020 11:34 by ADMIN
Release LIB 2020.1.210 (02/10/2020)

When the MEF catalog of RadRichTextBox is predefined, the PasteOptionsPopup is not automatically loaded and causes NullReferenceException in the presenter when the users press Ctrl or Esc.

Workaround: Add typeof(PasteOptionsPopup) to the catalog.

Unplanned
Last Updated: 03 Feb 2020 11:15 by ADMIN

To reproduce:

- Select several words by holding the control key. 

- Paste some text. 

Result: the first word is replaced, the other are deleted

Expected: the text should be pasted in all selected places

Workaround:

private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand)
    {
        var ranges = radRichTextBox.Document.Selection.Ranges.ToList();
        if (ranges.Count > 1)
        {
            e.Cancel = true;

            foreach (var range in ranges)
            {
                radRichTextBox.Document.Selection.Clear();
                radRichTextBox.Document.Selection.AddSelectionStart(range.StartPosition);
                radRichTextBox.Document.Selection.AddSelectionEnd(range.EndPosition);
                PasteNewText();
            }      
        }
    }
}
public void PasteNewText()
{
    DocumentFragment clipboardDocument = null;
    string clipboardText = null;
    bool clipboardContainsData = false;

    if (ClipboardEx.ContainsText(null))
    {
        clipboardText = ClipboardEx.GetText(null);
        clipboardContainsData = true;
    }

    if (!clipboardContainsData)
    {
        return;
    }

    if (clipboardDocument != null)
    {
        this.radRichTextBox.ActiveDocumentEditor.InsertFragment(clipboardDocument);
    }
    else if (!string.IsNullOrEmpty(clipboardText))
    {
        this.radRichTextBox.ActiveDocumentEditor.Insert(clipboardText);
    }
}

Unplanned
Last Updated: 10 Feb 2020 13:59 by ADMIN

Use the attached project to reproduce:

- Click the first button so the image is changed

- Click the second button and examine the exported HTML

Expected: the Uri is exported

Actual: the Uri is not exported.

Workaround: 

p.Inlines.AddAfter(image, image2);
p.Inlines.Remove(image);

Unplanned
Last Updated: 10 Mar 2020 07:23 by ADMIN
Invalid document is generated when track changes is enabled and the InsertFragment method is used
Completed
Last Updated: 27 Mar 2020 12:06 by ADMIN
Release LIB 2020.1.330 (03/30/2020)
While typing, there are spaces added after the content, the caret is not positioned as expected.
Unplanned
Last Updated: 09 Apr 2020 14:16 by ADMIN
The document content is not measured properly, leading to incorrect selection ranges.
Unplanned
Last Updated: 14 May 2020 06:48 by ADMIN
Created by: Thomas
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Currently, the address tag is not supported and everything within this tag is skipped on import.