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.
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