Completed
Last Updated: 05 Sep 2022 07:07 by ADMIN
Release LIB 2022.2.905 (09 Sep 2022)
When ScaleFactor is set to less that (1,1), this causes the caret to disappear at specific positions in the document. These positions depend on the exact value of the scale factor. The focus is still in the editor and users can type.

Note that if the scale factor changes, the positions where the caret is not visualized will change as well.
Completed
Last Updated: 05 May 2016 10:11 by ADMIN
Unplanned
Last Updated: 31 Oct 2018 08:13 by ADMIN
ADMIN
Created by: Boby
Comments: 0
Category: RichTextBox
Type: Feature Request
0
In MS Word, images can have strikethrough formatting. In RadDocument's model, this is property of Spans only.
Unplanned
Last Updated: 15 May 2019 13:41 by ADMIN
Created by: Patrick
Comments: 2
Category: RichTextBox
Type: Feature Request
1
Actually, when we go to image editor from the RadRichTextBox, we've got the original image's size but not the width and height in the document. When we need to format pictures of a document with equal size, we are using the document's size, not the picture's size.

Thanks 
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
For example, if the document has "Times New Roman" as a default font family, the "TableNormal" style doesn't have set that property and there is a Table element in the header - the value is not properly obtained ("Verdana" is applied, which is the default value for that Span property).
The problem is observed for all default span style properties.

Workaround: Change the table style by setting the necessary properties from the default style. For example for the font family:

object documentFontFamilyPropertyValue = this.radRichTextBox.Document.Style.GetPropertyValue(Span.FontFamilyProperty);
foreach (StyleDefinition tableStyle in this.radRichTextBox.Document.StyleRepository.Where(s => s.Type == StyleType.Table && s.BasedOn == null))
{
    StylePropertyBase styleProperty = tableStyle.GetProperty(Span.FontFamilyProperty);
    if (styleProperty.ValueSource == RadValueSource.Default)
    {
        tableStyle.SetPropertyValue(Span.FontFamilyProperty, documentFontFamilyPropertyValue);
    }
}
Declined
Last Updated: 17 Aug 2017 15:27 by ADMIN
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When a list item with applied first line indent is exported to PDF, the bullets are with wrong indent (images attached)

Partial workaround: Remove the first line indent and set it as left indent in order to preserve the visualization of the document
editor.ChangeParagraphLeftIndent(paragraph.FirstLineIndent + paragraph.LeftIndent);
editor.ChangeParagraphFirstLineIndent(0);
Completed
Last Updated: 25 Jun 2016 13:17 by ADMIN
Workaround: Manipulate the clipboard content in CommandExecuting even handler:

private void RichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is PasteCommand)
    {
        DocumentFragment document = ClipboardEx.GetDocument();
        bool hasChangedDocument = false;

        foreach (FieldRangeStart fieldStart in document.EnumerateChildrenOfType<FieldRangeStart>())
        {
            foreach (Span span in fieldStart.Field.GetFragmentByDisplayMode(FieldDisplayMode.Code).EnumerateChildrenOfType<Span>())
            {
                span.ForeColor = Colors.Black;
                hasChangedDocument = true;
            }
        }

        if (hasChangedDocument)
        {
            ClipboardEx.SetDocument(document);
        }
    }
}
Completed
Last Updated: 14 Jun 2016 07:29 by ADMIN
ADMIN
Created by: Tanya
Comments: 1
Category: RichTextBox
Type: Bug Report
2
The TableStylesGallery keeps a reference to the document, which doesn't allow the GC to collect it. The issue is reproducible when the document is loaded in RadRichTextBox in the constructor of the window or in its Loaded event.
Declined
Last Updated: 25 Feb 2016 16:49 by ADMIN
Created by: Shankar Ram
Comments: 1
Category: RichTextBox
Type: Bug Report
0
Please look for the same topic in the forum for context. 
@Todor:
Am attaching the wmf file and png file that don't get rendered.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
Images with display: none could be made not-visible in the UI. The other elements could be skipped and not imported.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
In MS Word, decimal tab stops affect paragraph layout in table cells even if tab character is not inserted. The reasoning is that it's hard to insert tab symbol in table cell, as pressing Tab navigates to the next cell (Ctrl+Tab should be used, or default behavior should be configured). 
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When a table is copied (without a paragraph before it) and pasted as first element in a Section in RadRichTextBox with Track Changes enabled, accepting all changes throws (handled) InvalidCastException. Changes are not accepted.

Workaround: Attach to RadRichTextBox.CommandExecuting event, and add paragraph before the table in the document fragment in the clipboard.
private void RadRichTextBox_CommandExecuting(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is Telerik.Windows.Documents.RichTextBoxCommands.PasteCommand)
    {
        if (this.radRichTextBox.Document.IsTrackChangesEnabled)
        {
            DocumentFragment documentFromClipboard = ClipboardEx.GetDocument();
 
            if (documentFromClipboard != null)
            {
                e.Cancel = true;
 
                RadDocument documentFormClipboard = documentFromClipboard.ToDocument();
 
                if (documentFormClipboard.EnumerateChildrenOfType<Table>().Count() > 0)
                {
                    Section firstSection = documentFormClipboard.Sections.FirstOrDefault();
                    if (firstSection.EnumerateChildrenOfType<Table>().Count() > 0)
                    {
                        if (firstSection.EnumerateChildrenOfType<Table>().FirstOrDefault() != null)
                        {
                            Table table = firstSection.EnumerateChildrenOfType<Table>().FirstOrDefault();
                            Paragraph paragraph = new Paragraph() { SpacingAfter = 0, SpacingBefore = 0, LineSpacing = 0, FontSize = 1 };
                            firstSection.Blocks.AddBefore(table, paragraph);
 
                            RadDocumentEditor editor = new RadDocumentEditor(this.radRichTextBox.Document);
                            DocumentFragment fragment = new DocumentFragment(documentFormClipboard);
                            editor.InsertFragment(fragment);
                        }
                    }
                }
            }
        }
    }
}
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When table cell text alignment (including horizontal and vertical alignment) is applied to a specific part of the table (e.g. First Row, First Column, etc.), the horizontal alignment is not applied. Only the vertical alignment is applied. If the alignment is applied to the whole table, then everything works as expected.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
When comments panel is closed while the caret is still in the comment body, most document commands (all except typing) continue to execute in the comment body.

The bug is regression introduced in 2013 Q3.

Workaround: save the document position of the caret before showing the comment and after hiding the comments' panel, apply the saved caret position to the document. Attached is a sample project with the fix.
Unplanned
Last Updated: 31 Oct 2018 07:54 by ADMIN
When header/footer (HeaderFooterPresenterBase) is rendered, the model which corresponds to it (HeaderFooterBase's Body property) is not updated. The result is updated only in the presenter. Thus, when exporting the document or when checking the elements in the model, the value of the inline (span's text) is not updated.

Workaround: Update the fields in the headers/footers. RadDocumentEditor.UpdateAllFields() method can be used. Note that it works only for the main document and not its child documents, so different RadDocumentEditors should be created for each header/footer document.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
ADMIN
Created by: Todor
Comments: 0
Category: RichTextBox
Type: Feature Request
0
For example for Input Method Editors like Marathi Indic Input, part of MS Indic Language input tool, downloadable from here: http://www.bhashaindia.com/ilit/Marathi.aspx.

Workaround: RadRichTextBox currently exposes customization point for implementing custom IMEs, see Custom IME Support: http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/ime-support#custom-ime-support
Unplanned
Last Updated: 31 Oct 2018 07:53 by ADMIN
Add support for All Capitals (All caps) and Small Capitals (Small caps) run property. MS Word has such option in Home -> Font -> Dialog Launcher -> Font -> All Caps/Small Caps.

All letters of such runs are visualized as capital letters.

The corresponding elements in OOXML are <w:caps /> and <w:smallcaps />.
Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
After resizing the window, the text stays at the same location instead of moving to the next line. The result is overlapping text.
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.