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.
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: 20 Jan 2020 14:47 by ADMIN
Release LIB 2020.1.127 (01/27/2020)
The exception is thrown in RadDocument.IsInNonEditableRange() method, which is called before measuring the document. When using a format provider, the error is thrown but the document can still be opened in RichTextBox. In binding scenario, the document is not imported.

Workaround: Ensure the document is measured before assigning it to RadRichTextBox.
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).
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: 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: 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.
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: 06 Jan 2020 12:18 by ADMIN
Invoking the same Paste Options command for a second time does not close the popup. It is closed when another Paste Options command is executed.
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: 25 Dec 2019 13:53 by ADMIN
Importing padding CSS style property with shorthand value produces an incorrect result. 
Example: 
Importing padding: 5px; style is imported as padding-top: 5px, padding-right: 0px, padding-bottom: 0px, padding-left: 0px

Padding syntax can be seen in the specification.

Workaround: Apply padding values for all four sides.
Unplanned
Last Updated: 23 Dec 2019 12:39 by ADMIN

 Incorrect behavior when setting the table cells padding

Steps to reproduce:

- Insert a table

- Open Table Properties

- Clear the value in the "Left" field 

- Check "Same for all sides"

- Click OK

Unplanned
Last Updated: 18 Dec 2019 12:18 by ADMIN
When the popup is located on the bottom side of the document and it is also close to the end of the presenter and a user opens it, then the popup goes outside the area.
Completed
Last Updated: 11 Dec 2019 13:35 by ADMIN
Release LIB 2019.3.1216 (12/16/2019)
When trying to import a document containing bookmark and BookmarkRangeEnd is after the last paragraph, a StackOverflowException is thrown in IntervalNode while trying to rebuild the document cache. (RadDocumentChildrenCache.RebuildTree()).

The same could be observed if the bookmark end is last in the header/footer, between table cells in the RadDocument body, or when all paragraphs after the bookmark range end are hidden (with vanish property).

Workaround: Detect the problematic annotations and remove them:
foreach (var rangeStart in document.EnumerateChildrenOfType<AnnotationRangeStart>())
{
    if (rangeStart.End == null || rangeStart.End.Parent == null || rangeStart.End.Parent.Parent == null)
    {
        //MessageBox.Show("This indicates a problem.");
        rangeStart.Parent.Children.Remove(rangeStart);
    }
}

Note: Until 2017 R2 SP1 release StackOverflowException is thrown, after this release an ArgumentException should be thrown.