When continuous section break is copied from RichTextBox and pasted to MS Word, it is inserted as Next Page break.
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.
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);
}
}
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.
In RichTextBox, only the background (the fill attribute) is supported and the val and color attributes (determining the pattern and its color) are not respected while importing.
When the Chinese IME is used with Microsoft Pinyin input, FatalExecutionEngineError is thrown in the FocusCaret() method of DocumentWebLayoutPresenter. The exception is not reproducible in Paged layout mode.
If the spell checking dialog is opened when the caret is at the end of the paragraph, the spell check stops after the fist span in the paragraph after which there is a punctuation (e.g. comma or a dot). However, if the caret is at the beginning of the paragraph (on the first misspelled word for example), everything works as expected.
When there is a Section with columns layout and it is separated with continuous section break, inserting column break in some of the columns doesn't get into account when the calculations of the available height are made.
When one column section is selected, "Line between" and "Equal column width" checkboxes should be disabled.
Text in a section before continuous section break is not evenly distributed among columns when Left column type is applied. As a result the first column's height is bigger than the height of the second column.
Performing Undo of bolded selection when the selection includes two tables separated by a paragraph is nesting the tables which were siblings.
When a conditional table style is applied to a table and the document is exported to RTF format, when the exported document is opened in MS Word, the FontWeight and ForeColor properties are not respected. Examples: If Grid Table 4 style from the gallery is applied and the document is exported and opened in MS Word, the FontWeight property is not respected and the text is not bolded. If Grid Table 5 Dark style from the gallery is applied and the document is exported and opened in MS Word, the FontWeight and ForeColor properties are not respected.
When there is applied a local font family, the font family of the theme should be set to none. Otherwise, the font family of the elements that have a local value will be changed. Workaround: Reset the theme font family after import: this.radRichTextBox.Document.Style.SpanProperties.ThemeFontFamily = Telerik.Windows.Documents.Model.Themes.ThemeFontsEnum.none;
This includes everything related to: - Navigation of the controls only with keyboard (Tab, Shift+Tab, arrows, Alt+<Letter>) - Correct Screen Reader pronunciation when entering into/navigating in the control, including RadRichTextBox itself.
When exporting to HTML, each two consequent spaces in a run are treated as . However, when a style is applied to one of the spaces, the span is split and the two spaces are not considered as a pair, therefore, the HtmlFormatProvider exports them as normal spaces. When the two spaces are the whole content of a paragraph, this paragraph is not visible when the HTML is visualized in a browser.
Currently list styles cannot be removed from the document model.
There is no command or API in the editor for deleting paragraph, but there is such for, for example, deleting table.
ArgumentOutOfRangeException is thrown when replacing all (Replace All button is clicked from the FindReplace dialog) occurrences of given text if the replace text is with smaller length than the searched text. For example if we have the following text written in the RadRichTextBox: "Some Text" and we want to replace all occurrences of "Some Tex" with "AA" (open find and replace dialog and click ReplaceAll button), the exception occurs Workaround: Change the FindReplaceDialog with a custom one (see how in this SDK demo - https://github.com/telerik/xaml-sdk/tree/master/RichTextBox/CustomFindReplaceDialog ). In the new custom dialog, buttonReplaceAll_Click event handler, change the initialization of the 'startFindPosition' variable to be in the body of the while loop. Available in LIB Version 20181.205.
When a table is the only content in a document and is copy/pasted, it is inserted in the copied table as nested. The issue is observed only when the table is the only content in the table. It is not observed when an empty paragraph is available before the table or any spacing is inserted after the table. To workaround the issue, the selected table could be deleted before pasting.