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.
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.
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
Declined
Last Updated: 08 Apr 2020 06:57 by ADMIN
Created by: David
Comments: 3
Category: RichTextBox
Type: Feature Request
0

In localizing your demo code for a RichTextBox I noticed some size mode-related inconsistencies in icon placements in the various sorts of buttons:

In Size=large, generally the icon appears above the button text. In the split button the icon is centered over and partially obscures the text. Unacceptable!

In Size=medium, generally the icon appears to the left of the text. In the Split button it appears below the text. Either is fine but should be consistent.

Also, when Size=medium and icon beside text, in all buttons I would like to see more spacing between the icon and the text; there seems to be virtually none.

Unplanned
Last Updated: 28 Feb 2020 11:53 by ADMIN
Add a property that controls the spellcheck underline color 
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: 27 Feb 2020 06:42 by ADMIN
The page number field is not correctly calculated when merging documents
Completed
Last Updated: 28 Jan 2021 13:16 by ADMIN
Release LIB 2021.1.201 (1/2/2021)
Image adorner is not properly ported and it is not supported in .Net Core.
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: 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: 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 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;
        }
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: 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.

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.
Unplanned
Last Updated: 15 Jan 2020 09:21 by ADMIN
The caret position does not move at the end of the line with continuous text (see attached).
Unplanned
Last Updated: 13 Jan 2020 09:37 by ADMIN

To reproduce:

- Add a multilevel list to a document and export it to HTML

- Import the document again the list is changed and the values are not correct.

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.