Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When an RTF document contains table inside table in the header or in the footer, the document cannot be imported due to NullReferenceException. In the case of RadRichTextBox the exception is handled, but it's not when RtfFormatProvider is used directly.

The bug is regression in 2016 R3.
Completed
Last Updated: 27 May 2021 13:08 by ADMIN
Release LIB 2021.2.531 (31/05/2021)
The RTF specifications states that the header of the document should start with "\rtfN" where N is the version of the RTF. Currently, the RtfFormatProvider do not save the version, but only "\rtf". Most software handles this case, but in some cases the document cannot be read.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Provide option for configuring the measurement units (centimeters [cm], inches [in]) used throughout RadRichTextBox UI, including:
- Ruler (currently supported and configurable through DocumentRuler.MeasurementUnit property which is of type UnitTypes)
- Table dialogs - for indents, widths and heights
- Paragraph indentation (currently shown only in points [pts])
- Section properties - header from top and footer from bottom
- Page setup - columns width in Columns dialog
- Page Margins and Page Size in Ribbon UI

Currently parts of the dialogs and controls shows measures in pixels (actually DIPs), other in inches (e.g. ruler).
Completed
Last Updated: 31 Oct 2018 08:14 by ADMIN
When dragged from the toolbox, the wizard adds only <telerik:RadRichTextBox /> tag and does not generate XAML for the Ribbon UI. 

Workaround: On second attempt, the UI of the ribbon is generated as expected. Note: The generation is not working in Visual Studio 2017, even on the second attempt.

Available in R1 2018 Official Release version.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Provide option for exporting InlineUIContainer and FloatingUIContainer as images to docx and RTF format.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When the document contains headings with heading styles associated with numbering styles (numbered headings), and TOC field is inserted and/or updated in the document, the TOC items should contain the numbering which comes from the style. Instead, on update the numbering is lost and only heading text is included in the field result.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
Implement advanced find dialog similar to MS Word which provides an option to search for paragraph end marker, tab character, and others.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
InvalidOperationException is thrown in the IsInNonEditableRange() method of RadDocument when assigning a document to RadRichTextBox, which is created through the model and contains several read-only ranges.

Workaround: Call MeasureAndArrangeInDefaulSize().
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When continuous section break is copied from RichTextBox and pasted to MS Word, it is inserted as Next Page break.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
When section break between tables is deleted, the document structure gets corrupted and as a result, NullReferenceException is thrown after performing undo of the deletion operation. 
As a workaround PageBreak could be used instead of Section break.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
When text with Code 128 font is rendered in RadRichTextBox, there are some unexpected behaviours:
- Spaces are not rendered (they have special representation in Code 128). This issue will be reproduced for all fonts which define special (non-empty) representation of the space character.
- During rendering, UI inserts  "Left-to-Right Mark" character and "Right-to-Left Mark" character, which are not defined in the font and appear as .notdef glyph, which is white rectangle. This issue will be reproduced for all fonts which do not define these characters.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
When a table is on a page different than the first one and user clicks on the thumb for resizing the table row height, wrong value is calculated and passed to the setter of the TableRow's Height property.

This leads to wrong table layout when the document is exported using RtfFormatProvider.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Feature Request
1
This includes resizing, rotating and moving. Consider implementing the full functionality for interaction with both floating and inline images. 
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN

This causes some problems if the hyperlink is edited and the document is exported and imported again.

Workaround:

private void RadRichTextBox1_DocumentChanged(object sender, EventArgs e)
{
    var document = radRichTextEditor1.Document;

    var fields = document.EnumerateChildrenOfType<FieldRangeStart>();

    foreach (FieldRangeStart item in fields)
    {
        radRichTextEditor1.DeleteAnnotationRange(item);
    }
}

Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Placing a floating image after the end of the last paragraph in a page and switching to Flow layout mode will result in missing an image. The image is actually there, but it is not in the viewport.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The start and end annotations are pasted along with the other content, trying to update the styles leads to cycle and StackOverflowException is thrown.

Workaround: Remove the comments from the document in the clipboard:

void radRichTextBox_ActiveDocumentEditorChanged(object sender, Telerik.Windows.Documents.UI.ActiveDocumentEditorChangedEventArgs e)
{
    if (e.DocumentEditorType == Telerik.Windows.Documents.UI.DocumentEditorType.Comment)
    {
        var currentEditor = this.radRichTextBox.ActiveDocumentEditor as RadRichTextBox;
        currentEditor.CommandExecuting += activeEditor_CommandExecuting;
    }
}

void activeEditor_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand)
    {
        RadDocument pastedDocument = ClipboardEx.GetDocument().ToDocument();
        RadDocumentEditor editor = new RadDocumentEditor(pastedDocument);

        editor.DeleteAllComments();

        ClipboardEx.SetDocument(new DocumentFragment(pastedDocument));
    }
}
Completed
Last Updated: 31 Oct 2018 07:54 by ADMIN
When document fragment containing consecutive spans with same style is inserted with RadRichTextBox.InsertFragment method, and the document is with specific structure (which is not exactly known), NullReferenceException in HierarchicalIndex.GetBoxByHierarchicalIndex could be thrown when text is typed in specific places in the document.

Workaround: Ensure that such spans are merged before creating the fragment:

var document = xamlProvider.Import(xaml);
document.MergeSpansWithSameStyles();
var fragment = new DocumentFragment(document);
rtb.InsertFragment(fragment);

---------------------------------------

Sample call stack:

System.NullReferenceException
 at Telerik.Windows.Documents.HierarchicalIndex.GetBoxByHierarchicalIndex(DocumentLayoutBox documentBox, HierarchicalIndex hierarchicalIndex)
 at Telerik.Windows.Documents.DocumentPosition.RestorePositionFromBoxIndex(Nullable`1 raiseEvent)
 at Telerik.Windows.Documents.Model.RadDocumentEditor.InsertTextInternal(String text, Span currentSpanStyle, Boolean explicitAcceptsReturn)
 at Telerik.Windows.Documents.Model.RadDocumentEditor.InsertFromUI(String text, Span currentSpanStyle, Boolean acceptsReturn)
 at Telerik.Windows.Controls.RadRichTextBox.Telerik.Windows.Documents.UI.ITextInputCommandsHandler.InsertText(String text)
 at Telerik.Windows.Documents.UI.CaretTextInputHandler.InsertText(String text)
 at Telerik.Windows.Documents.UI.CaretTextInputHandler.HandleTextInsertedWithoutIme(RadDocument document, String text)
 at Telerik.Windows.Documents.UI.CaretTextInputHandler.CaretUI_TextInserted(Object sender, TextInsertedEventArgs e)
 at Telerik.Windows.Documents.UI.Caret.OnTextInserted(Object sender, TextInsertedEventArgs e)
 at Telerik.Windows.Documents.UI.Caret.OnTextChanged()
 at Telerik.Windows.Documents.UI.Caret.Caret_TextChanged(Object sender, TextChangedEventArgs e)

...

Fix available in LIB Version 2018.2.813.
Declined
Last Updated: 14 Jun 2019 18:17 by ADMIN
Html exported from RadRichTextBox will be shown in Outlook with some formatting issues related to lists. The text in a paragraph will be shown with the formatting of its bullet.

The reason is that the content is exported to HTML as a styled list level which Outlook does not understand. The same applies to MS Word as well. This can also lead to formatting issues when the document is later imported in RichTextBox.

You can check the attached screenshot for reference.

Workaround: 
Change the styles to export as inline properties:
htmlProvider.ExportSettings.StylesExportMode = StylesExportMode.Inline;
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
The built-in Hyperlink style is not applied to hyperlinks imported from HTML (<a> tag). As a result, the hyperlinks in the document do not have the blue underline.

Workaround: Subscribe for the SetupDocument event of the HtmlDataProvider and set the hyperlinks' style manually.
private void HtmlDataProvider_SetupDocument(object sender, Telerik.Windows.Documents.FormatProviders.SetupDocumentEventArgs e)
{
    StyleDefinition hyperLinkStyle = e.Document.StyleRepository[RadDocumentDefaultStyles.HyperlinkStyleName];
    hyperLinkStyle.SpanProperties.ForeColor = Colors.Green;//Color.FromRgb(0xff, 0x7a, 0xcc);
    var hyperlinks = e.Document.EnumerateChildrenOfType<HyperlinkRangeStart>();

    RadDocumentEditor editor = new RadDocumentEditor(e.Document);
    editor.Document.History.IsEnabled = false;

    foreach (HyperlinkRangeStart hyperlink in hyperlinks)
    {
        e.Document.Selection.SelectAnnotationRange(hyperlink);
        editor.ChangeStyleName(RadDocumentDefaultStyles.HyperlinkStyleName);
    }
    e.Document.Selection.Clear();

    editor.Document.History.IsEnabled = true;
}
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
This element specifies a set of table properties which shall be applied to the contents of this row in place of the table properties specified in the tblPr element.