Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
If there are two words with two spaces between them, and between the spaces there is annotation with SkipPositionBefore = false (e.g. track changes revision annotation or comment), and current editing style is changed on the position between the spaces (i.e. Toggle Bold, for example, without selection present) the first word formatting is affected (e.g. it becomes bold).

Steps to reproduce:
Variant 1:
- Insert two words with a single space between them (e.g. "text telerik")
- Turn Track Changes On
- Insert a space after the single space between the two words. (i.e. right before 'telerik')
- Toggle Bold
Observe: "text" gets bold.
Expected: "text" doesn't get bold, just current editing style is changed.

Variant 2:
- Insert two words with a two spaces between them (e.g. "text  telerik")
- Select the second space and the second word, and insert comment.
- Put the caret between the spaces.
- Toggle Bold
Observe: "text" gets bold.
Expected: "text" doesn't get bold, just current editing style is changed.
Unplanned
Last Updated: 31 Oct 2018 08:06 by ADMIN
Performance is slow when importing document containing many hyperlink fields from RTF and Docx formats.
Unplanned
Last Updated: 31 Oct 2018 08:14 by ADMIN
Section break formatting symbol is not positioned as in MS Word. 
For example, when section break is inserted in an empty document and the cursor is placed before the break, when Enter is pressed, the section break formatting symbol is moved to the next line. 
In MS Word, the section break is preserved on the same line with the paragraph symbol.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
Each time the Styles Gallery becomes visible it triggers an update of each style which leads to increased CPU usage. Significant performance delay is not experienced as the update is executed in dispatcher and with delayed execution. However, a blink of the styles could be noticed.
Unplanned
Last Updated: 22 Jul 2020 12:35 by ADMIN
The ImagesDeflaterCompressionLevel and ContentsDeflaterCompressionLevel in the PdfFormatProvider's export settings have 0 for default value instead of -1.

Workaround: Change the settings's properties to -1 explicitly.
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 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: 18 May 2021 13:24 by ADMIN
RadRichTextBox doesn't render a border that is not locally defined. In this case, the corresponding border from the applied table style should be used.
Unplanned
Last Updated: 14 Mar 2017 09:47 by ADMIN
A paragraph is exported to HTML with properties from its bullet when the default document properties are customized. Here are the steps to reproduce:

Change the document default font-size to 10.5 pt(14px).
Change the document default font-family to "Calibri".
Add two paragraphs with text.
Apply a list to the paragraphs
Export to HTML 
Import the resulted HTML.

Observed: The paragraphs text is with font-family "Verdana" and font-size of 12pt
Expected: The paragraphs should inherit its font properties from the document default properties.
You could also check the attached Observed and expected screenshots.
Unplanned
Last Updated: 31 Jul 2017 09:53 by ADMIN
When an enter is pressed the paragraph is split into two parts and does not apply the current editing style to the formatting symbol of the first part.

Steps to reproduce:
Add text to an empty paragraph.
Increase the font-size.
Press enter.

Expected result: If the user starts to write the text should have its font properties from the current editing style. 

Expected result 2: If the client moves the caret around and then return to the beginning of the second paragraph it and start writing, the text should have its font properties from the formatting symbol(which are applied from current editing style when the paragraph has been split). 
Unplanned
Last Updated: 28 Jun 2017 05:59 by ADMIN
When the preferred width of the table is set to a percentage value and the columns inside have preferred width values in pixels, the bigger width should take precedence when showing the table. At this point, the table column widths are with higher priority.
Unplanned
Last Updated: 12 Jun 2017 11:01 by ADMIN
RadRichTextBox/RadDocumentEditor's MailMerge(bool) method doesn't respect the startEachRecordOnNewPage parameter. When the parameter is set to 'false', records are still merged on different pages, instead of on one.

Workaround: Use RadDocumentMerger to append the resultant documents:
http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/features/merge-documents/append
Unplanned
Last Updated: 20 Mar 2018 13:16 by ADMIN
Mail merge is not working for the first record in the items source when the items source is IEnumerable with deferred execution.

Workaround: convert the collection to list.
Unplanned
Last Updated: 19 Jul 2018 07:01 by ADMIN
RichTextBox interprets the div tag by adding a new line upon its closing. However, when the content of the div tag is a br tag, the whole combination should be treated as one new line.
Unplanned
Last Updated: 14 Aug 2018 09:41 by ADMIN
Certain documents containing a table with a cell spanning on more than one row might cause the application to hang and throw OutOfMemoryException.

Workaround: Set SpacingAfter = 0 of the last paragraph in the table.
Unplanned
Last Updated: 06 Dec 2018 09:27 by ADMIN

 

First Scenario: During layout of specific documents where the first section is with Continuous section break type, the layout algorithm enters in an infinite loop causing the application to hang.

Workaround: Change the section break type for the first section after the import of the document and before the layout:
document.Sections.First.PreviousSectionBreakType = SectionBreakType.NextPage;

Second Scenario: During the layout of specific documents where the last section is with Continuous section break type and has specific page size width and height, the layout algorithm enters in an infinite loop causing the application to hang.

Workaround 2: Slightly modify the size of the section which causes the issue after the import of the document and before the layout:
Size pagesize = radDocument.Sections.Last.PageSize;
radDocument.Sections.Last.PageSize = new Size(pagesize.Width - 0.001, pagesize.Height - 0.001);

Third Scenario: During layouting of specific documents containing anchored elements, the layout algorithm enters in an infinite loop causing the application to hang. No workaround.


Unplanned
Last Updated: 15 Jan 2019 13:42 by ADMIN

When the user copy-pastes an image from Outlook, it is pasted as an IncludePictureField and visualized as expected. The field code looks like

{INCLUDEPICTURE :image001.png@01D15D16.4FAF0970 \* MERGEFORMATINET}

However, when the fields in the document are updated, the image is no longer shown because of its invalid Uri. In MS Word, when you paste the image, it is directly inserted as image and the field is skipped.

Workaround - remove the field start/ends (in the attachments)

Unplanned
Last Updated: 06 Mar 2019 12:39 by ADMIN
When importing an image, defined with a Base64 string which doesn't have its size explicitly set, it is rendered with ImageInline.DefaultImageSize instead of using its real size.

Workaround: Check the size defined in the ImageSource:
var image = this.radRichTextBox.Document.EnumerateChildrenOfType<ImageInline>().First();
if (image.Height == 10 && image.ImageSource.DecodePixelHeight == 0)
{
    image.Height = image.ImageSource.Height;
}
Unplanned
Last Updated: 02 Sep 2019 12:25 by ADMIN
Keyboard commands are not working for controls inside the InlineUIContainer. The reason for this is that RichTextBox is handling them.
The commands are: Left, Right, Backspace, Delete, Tab, Ctrl+C, Ctrl+V among others.

Workaround:
Attach custom event handler to the PreviewEditorKeyDown event of the RichTextBox. This event should set "e.SuppressDefaultAction = true" when the focus is in the InineUIContainer.
Unplanned
Last Updated: 03 Sep 2019 15:12 by ADMIN
Placing the caret in a table cell containing a floating image only results in invisible caret. The formatting symbol of the TableCell is affected by the floating block as well - if there is no other content, the symbol appears under the image. When some text is inserted, the symbol is lost and clicking next to the paragraph end moves the caret in the next/previous table cell.