Tapping on a selected region in a document should show the selection mini toolbar. A second tap should clear the selection and then place the cursor on the tapped location, but this does not happen. Subsequent tap should select the entire word and another tap should select the paragraph.
SelectionMiniToolBar and ImageMiniToolBar stay visible when keys associated with commands bindings are pressed, for example: - When Delete key is pressed - When arrow keys are pressed The expected behavior is mini tool bars to hide on each key press. Fix available in LIB Version 2017.3.1211.
'Decrement paragraph left indent' command can set negative left indent which makes bullets/numbering of a list clipped. Instead, it shouldn't be executed if the bullets/numbering would become invisible.
Workaround: Cancel the command in CommandExecuting event:
this.radRichTextBox.CommandExecuting += (sender, e) =>
{
if (e.Command == this.radRichTextBox.Commands.DecrementParagraphLeftIndentCommand)
{
if (this.radRichTextBox.Document.Selection.GetSelectedParagraphs().Any(p => p.IsInList && p.LeftIndent <= 24))
{
e.Cancel = true;
}
}
};
In Word and WordPad when hitting Ctrl+Down Arrow the cursor moves to the start of the next paragraph, until the last paragraph in the document where it moves to the end of the document. In Telerik editor it moves to the end of the paragraph. Steps to reproduce: - Load a document with multiple lines of text - Click near the top of the document and hit Ctrl+Down repeatedly Expected: The cursor moves down one paragraph at a time with the cursor at the start of the paragraph Actual: The cursor moves down one paragraph at a time with the cursor at the end of the paragraph Fix available in LIB Version 2017.3.1218.
Permission's range bracket disappears when it is positioned on the last line of the page.
When a document with NumPages field in header or footer is exported to PDF, NumPages field is evaluated wrongly - 1 for the first page, 2 for the second page, etc. The bug is regression, introduced with R3 2017 SP1 (2017_3_1018). Fix available in LIB Version 2017.3.1211.
When the tag \sl (line spacing) has value 0, according to the specification it should be calculated according to the highest character in the line, which corresponds to the LineSpacingType single. Instead, in RTB this text disappears.
Workaround:
private void RadRichTextBox_DocumentChanged(object sender, EventArgs e)
{
foreach (var paragraph in this.radRichTextBox.Document.EnumerateChildrenOfType<Paragraph>())
{
if (paragraph.LineSpacing == 0)
{
paragraph.LineSpacing = 1;
}
}
}
Fix available in LIB Version 2017.3.1211.
Show a preview of how a feature affects the document as the user hovers over the different options in the user interface, e.g.: - when a style is hovered in the styles gallery, temporarily apply the style to the affected text; - when a font size is hovered in the font size combo (in the ribbon or in the SelectionMiniToolBar), temporarily apply the hovered font size to the affected text.
Currently, blockquote tags are imported as paragraphs. Change the mechanism so they can be imported as citations.
Hyphenated words (like "good-looking", "dry-clean", "twenty-seven") should be passed to the spellchecker as a whole word. The current mechanism works well enough for English, however, for some languages and dictionaries it is necessary to pass the whole hyphenated word to the spellchecker.
When RadRichTextBox.DocumentInheritsDefaultStyleSettings is set to true, lists in the document are exported to HTML with Verdana font, instead of with the font applied in the UI.
Workaround: Use modification of the document default styles ("Normal") instead of setting DocumentInheritsDefaultStyleSettings to true, e.g.:
this.radRichTextBox.Document.StyleRepository["Normal"].SpanProperties.FontFamily = new FontFamily("Segoe UI");
For some font sizes, the end of the last letter or the start of first letter is clipped. The problem is most visible with italic styles and large font sizes, but is present even for small sizes and regular style.
Workaround is to use the Classes StylesExportMode.
Click event are not raised, and the command in the Command property is not executed, when a Button is placed inside InlineUIContainer, and is tapped on a touch device. Workaround: One way to work around this is by setting TouchManager.TouchMode of the button to None, which will exclude the button from the TouchManager and will let the .NET events reach it. The other is to use the TouchManager Tap event instead of Command or Click.
When a table is selected, the SelectionMiniToolbar should have a borders drop down menu which allows setting and editing of borders without entering the table borders dialog.
The state of the button shows that the current paragraph is still in a list. The button state is updated after moving the caret using the mouse. Steps to reproduce: 1. Create a list 2. Enter some text in the first item 3. Hit enter twice Observed: The current paragraph is no longer part of a list but the list button remains active in the ribbon
When the content after the current caret position consists only of whitespaces, double-pressing the enter key should break out of the list because spaces after the caret should not be considered content in the current list item. Steps to reproduce: 1. Create a list 2. Type some text in the first line with a space after it 3. Move the cursor to the left before the space 4. Press enter twice The current paragraph is still in a list.
The crash is reproduced with a document with an image in the header and two columns in the body of the document.
Making headers and footers read-only or invisible is possible, but there is no way to prevent focusing them.
InvalidCastException that is handled is thrown in a scenario with two tables with no paragraphs in between, a page break before the tables and the user inserts paragraph in the second table. As a result, the user is unable to delete content when the selection includes the table ( the one produced by merging the two tables after the paragraph deletion).