Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
ADMIN
Created by: Petya
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Implement Mirror margins similar to the option in MS Word.

In MS Word, this is controlled using Page Setup dialog -> Margins -> Pages -> Multiple pages: -> Mirror margins. Another possible options are 2 pages per sheet and Book fold.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
The CSS styling for the "p" selector is not imported as a "NormalWeb" style. For example the following:

<style type="text/css">p {margin-top:0; margin-bottom:0;}</style>

should be imported as SpacingBefore and SpacingAfter set to 0 in Normal (Web) style.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
ADMIN
Created by: Mihail
Comments: 0
Category: RichTextBox
Type: Feature Request
1
When HTML is imported it may contain invalid images. In such case show the alternative text if there is such text.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
Left indent and hanging indent of paragraph in a list are changed when the document is exported to HTML and then imported.

Steps to reproduce:
- Add text.
- Apply list over the text.
- Export the document to HTML
- Import the exported HTML
Expected: The paragraph in the list preserves its left indent (18 px) and hanging indent (18 px).
Actual: The paragraph in the list is with left indent 18 px and hanging indent 0 px.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
RadRichTextBox's behavior is to reject/accept the whole revision where the caret or selection is. Modify the behavior so only the selected region is rejected/accepted and the rest is split into two revisions. Consider multiple selection ranges as well.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
When ignoring incorrect words through the Spelling dialog and you reach the last word in the document which is incorrect, only one more word from the beginning of the document is checked prior showing a message that the check is complete. Instead, all incorrect words starting from the beginning of the document should be spellchecked. 

The issue is reproduced when adding the incorrect words to the dictionary. In order to reproduce the issue, only "Ignore" or "Add to Dictionary" action should be applied. When the actions are mixed, the issue is not reproduced.

Workaround: before opening the spellchecking dialog, move caret at the beginning of the document
this.radRichTextBox.Document.CaretPosition.MoveToFirstPositionInDocument();
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Add possibility to import files from MHTML format.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: RichTextBox
Type: Feature Request
1
Add possibility to export files in MHTML format.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
Current implementation of Text UI automation pattern doesn't support obtaining the attributes of the selection, e.g. bold, italic, etc.

The API allows returning custom ITextRangeProvider where the behavior could be implemented , but this requires a lot of work. 

If this is built-in, the API will allow getting the attributes as follows:

            var automationPeer = (RadRichTextBoxAutomationPeer)FrameworkElementAutomationPeer.FromElement(this.radRichTextBox);
            TextPattern textPattern = (TextPattern)automationPeer.GetPattern(PatternInterface.Text);

            object isItalic = textPattern.GetSelection()[0].GetAttributeValue(TextPattern.IsItalicAttribute);
            if (isItalic == TextPattern.MixedAttributeValue)
            {
                // mixed
            }
            else
            {
                bool italic = (bool)isItalic;
            }

Currently, AutomationElement.NotSupported is always returned.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
ADMIN
Created by: Tanya
Comments: 2
Category: RichTextBox
Type: Feature Request
2
When the caret position is inside Table and a page break is inserted, the table should be split into two tables with a page break between.
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.
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.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
Consider introducing a property in the XAML that allows the user to set whether the gallery should be loaded asynchronously or not in order to handle scenarios in which the TableStylesGallery is not in a contextual tab.
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.
Completed
Last Updated: 31 Oct 2018 07:54 by ADMIN
When the LevelText of the list style is empty, PdfFormatProvider throws an IndexOutOfRangeException while trying to draw the bullet.

Workaround: Ensure that the LevelText of the ListItemStyle is not an empty string:

foreach (ListStyle listStyle in this.radRichTextBox.Document.ListManager.GetAllListStyles())
{
    foreach (ListLevelStyle level in listStyle.Levels)
    {
        if (string.IsNullOrEmpty(level.LevelText))
        {
            level.LevelText = " ";
        }
    }
}
Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
When a span or text is placed in <a> tag, but 'href' and 'name' attributes are missing, then the span/text is not imported from the HTML document.

Workaround: preprocess the HTML and add the 'href' attribute to all <a> elements.

Steps to reproduce:
1. Import the following HTML:

<html>
	<body>
		<a target="_blank">Some text</a>
	</body>
</html>

Expected: The hyperlink "Some text" is imported in the document.
Actual: The span "Some text" is not imported.
Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
All Microsoft Office applications (Outlook, Exchange, Word, Excel) that can produce HTML are creating them with all of the CSS stylings commented with HTML comment, as follows: <style><!-- CSS --></style>
This is a problem as RadRichTextBox's HTML parser does not import the CSS when it is commented like that.

Workaround: Remove the HTML comment from the CSS style tag.
Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: RichTextBox
Type: Feature Request
2
Currently <big> and <small> tags are not supported and the text inside is not imported.
Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
ADMIN
Created by: Svetoslav
Comments: 0
Category: RichTextBox
Type: Feature Request
3
It seems that the characters of Arabic words are reversed on export. Moreover, Arabic letters has different letter forms according to their position in the word (contextual letter forms) - beginning, end, middle, isolated. It seems that same character should be exported to PDF with different charcode depending on the character positioning.