Completed
Last Updated: 27 Mar 2020 13:36 by ADMIN
Release LIB 2020.1.330 (03/30/2020)
Restarting the numbering should affect only the paragraphs of the current level. Currently, after restarting the numbering, the upper-level paragraphs after the current one are also affected, making the numbering incorrect.
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: 20 Mar 2020 05:36 by ADMIN
Bold is not reset when creating a bullet line on a new line 
Unplanned
Last Updated: 17 Mar 2020 13:28 by ADMIN
When copy a modified Heading from Word document and paste it into a not empty RichTextBox the modified styles are not correctly imported.
Unplanned
Last Updated: 10 Mar 2020 12:36 by ADMIN
When GoToBookmark method is called and the current position is before the bookmark, the screen is not repositioned, causing the bookmark sometimes to appear at the last visible row.
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
Unplanned
Last Updated: 06 Mar 2020 05:44 by ADMIN
Created by: Joshua
Comments: 0
Category: RichTextBox
Type: Bug Report
2

A reference in DocumentFragment to RadDocument (CopySource property) can cause a memory after copy-paste between RadDocument.

Workaround:

public static bool ReleaseClipboardExReferences(
    RadDocument document)
{
    dynamic clipboardEx = new DynamicProxyObject(typeof(ClipboardEx));

    if (clipboardEx.documentClipboardData?.CopySource is DynamicProxyObject copySource
        && object.ReferenceEquals(copySource.Instance, document))
    {
        clipboardEx.documentClipboardData = null;
        return true;
    }

    if (clipboardEx.CopiedDocumentFragment?.Fragment?.CopySource is DynamicProxyObject fragmentCopySource
        && object.ReferenceEquals(fragmentCopySource.Instance, document))
    {
        clipboardEx.CopiedDocumentFragment = null;
        return true;
    }

    return false;
}

Unplanned
Last Updated: 28 Feb 2020 11:53 by ADMIN
Add a property that controls the spellcheck underline color 
Unplanned
Last Updated: 27 Feb 2020 06:42 by ADMIN
The page number field is not correctly calculated when merging documents
Completed
Last Updated: 18 Feb 2020 10:38 by ADMIN
Release R1 2020 SP1
Pressing an arrow key directly selects an item from the list box which triggers the logic for applying a paste option. Instead, the list box item should be just focused.
Completed
Last Updated: 14 Feb 2020 15:07 by ADMIN
Release R1 2020 SP1
When copy a modified Heading from Word document and paste it into a RichTextBox the modified styles are not correctly imported.
Completed
Last Updated: 14 Feb 2020 11:37 by ADMIN
Release R1 2020 SP1
The Popup needs to be triggered to recalculate its position.

The following fixes the issue in PasteOptionsPopup.cs
 
        private bool SetLocation(Point location)
        {
            if (this.HorizontalOffset != location.X || this.VerticalOffset != location.Y)
            {
                this.HorizontalOffset = location.X;
                this.VerticalOffset = location.Y;
                return true;
            }
            // added the following 5 lines to trigger the popup to recalculate it's location
            else
            {
                this.VerticalOffset++;
                this.VerticalOffset--;
            }
            return false;
        }
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.
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: 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);

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: 04 Feb 2020 18:36 by ADMIN

The document styles are not respected because of wrongly imported custom style name after copy-paste from MS Word and exported to HTML.

Workaround: avoid using styles with braces in their name.

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: 03 Feb 2020 09:00 by ADMIN

To reproduce:

- Hold the control key and double click a word

Actual: the entire paragraph is selected

Expected: the current word should be selected, the existing selection should be extended.

Completed
Last Updated: 29 Jan 2020 14:27 by ADMIN
Release R1 2020
Styles which contain "Headind1", "Headind2", "Headind3", "Headind4", "Headind5", "Heading6" in their names are exported as <h> elements to HTML. 

Moreover, is specific cases when the style of the name ends with specific symbols which are not allowed for element names in XML/HTML, e.g. "Heading1?", an ArgumentException is thrown.