Completed
Last Updated: 17 Jun 2019 14:19 by ADMIN
Release R2 2019 SP1
Hello Telerik, 

your control changed the format to Verdana when import rtf. But only in the first line. And only the first line is Arial. Is the first line with any other font formated, its all ok.

Here the code:

string rtfText = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1031{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil\fcharset0 Tahoma;}{\f2\fnil\fcharset0 Times New Roman;}{\f3\fnil\fcharset0 Arial Unicode MS;}{\f4\fnil\fcharset0 Calibri;}}
{\colortbl ;\red0\green0\blue0;}
\viewkind4\uc1\pard\tx300\tx600\tx900\tx1200\tx1500\tx1800\tx2100\tx2400\tx2700\tx3000\tx3300\tx3600\tx3900\tx4200\tx4500\cf1\b\fs32 Arial\f1\par
Tahoma\par
\f2 Times New Roman\par
\f0 Arial\f2\par
\f3 Arial Unicode MS\par
\f4 Calibri\b0\f0\fs20\par
}";
RtfFormatProvider rtf = new RtfFormatProvider();
this.radRichTextEditor1.Document = rtf.Import(rtfText);

this.richTextBox1.Rtf = rtfText;

In the screenshot you can see, left the standard .net rtf control and rigth the Telerik richtexteditor. 
The zip is the sample project.
Completed
Last Updated: 27 May 2019 11:40 by ADMIN
Release Fixed in R2 2019 (LIB 2019.2.603)
Completed
Last Updated: 05 Jun 2018 10:06 by ADMIN
The following parts are with hard coded strings and cannot be localized:

 - Insert Caption (InsertCaptionDialog): Combo boxes for label and separator
 - Paragraph Properties (ParagraphPropertiesDialog): Units of spacing and indentation values (pt)
 - Tab Stops Properties (TabStopsPropertiesDialog): The text of the tabStopsToBeClearedTextBloc
 - Cross references: reference types Figure and Table
 - TOC  and TOF: Heading and Figure, Caption labels
 - Document Ruler: Tooltips
 - FormattingColorPicker: The "No Color" string
- ManageStylesDialog shows items "Modify" and "Delete" with hardcoded text.
Completed
Last Updated: 17 Feb 2016 21:05 by Svetlin
If you import a rtf document, it produces a span instances with highlight color property set to ARGB(255,0,0,0).

Workaround:

foreach (Span span in document.EnumerateChildrenOfType<Span>())
{
    if (span.HighlightColor == Color.FromArgb(255, 0, 0, 0))
    {
        span.HighlightColor = Color.Transparent;
    }
}
Completed
Last Updated: 23 Nov 2021 09:48 by ADMIN
Release R3 2021 SP2

Hi Sir,

We updated telerik and facing some issues with that.

in new update with rich text editor has new property called  MentionBox settings of that auto added in to designer code. 

which creates an error when we run the application.

following line is auto added.

mentionBox1.FocusedItemIndex = -1;

 

we have to comment every time after doing UI changes. and we need to check every time whether that line is commented or not. 

 

Please Help Us.

Thanks,

Ashish.

Completed
Last Updated: 20 Jan 2020 12:07 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_120)
Completed
Last Updated: 03 May 2019 09:58 by ADMIN
Importing html documents having the property vertical-align property used with length values - for example: vertical-align = 3px, throws InvalidCastException. 
Completed
Last Updated: 16 Apr 2021 08:46 by ADMIN
Release R2 2021
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Bug Report
3
Add only a RichTextEditorRibbonBar without any other control on the form. If you run the application you will notice that it loads more than one second. We should investigate if it is possible and how to improve the initialization time.
Completed
Last Updated: 14 May 2019 10:53 by ADMIN
Release R3 2018
The issue only reproduces on Windows 10( 1806). Check the attached video showing the result: 

Workaround: Handle the CommandExecuting event this way
private void RadRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is ChangeFontFamilyCommand && e.CommandParameter.ToString() == "")
    {
        e.Cancel = true; 
    }
}
Completed
Last Updated: 14 Feb 2017 07:59 by ADMIN
Trying to export a document which contains hyperlink pasted from Outlook throws KeyNotFoundException. The color of the span is not registered.

Workaround:     
            Telerik.WinForms.Documents.Model.Styles.StyleDefinition style = new Telerik.WinForms.Documents.Model.Styles.StyleDefinition("test", Telerik.WinForms.Documents.Model.Styles.StyleType.Character);
            style.SpanProperties.ForeColor = Color.FromArgb(5,99,193);
            this.radRichTextEditor1.Document.StyleRepository.Add(style);
Completed
Last Updated: 06 Feb 2016 08:48 by ADMIN
To reproduce:

1. Install a font that is not part of the default ones.
2. Enter some text in RadRichTextEditor and use the installed font.
3. Export to pdf.
4. Uninstall the font.
5. Try to open the exported pdf. You will notice that the font is not embedded into the file and can not render the text correctly. Please refer to the attached sample pdf file with custom font.
Completed
Last Updated: 25 May 2016 11:12 by ADMIN
Completed
Last Updated: 15 May 2020 13:26 by ADMIN
Release Q2 2016 SP1
Merge all assemblies exept Telerik.WinControls.UI.Design.dll.
Use the merged assembly in an application with RichTextEditorRibbonBar.
The icons are missing. 
Completed
Last Updated: 13 Oct 2022 14:05 by ADMIN
Release R3 2022 SP2
"http://" prefix is automatically added by the Insert Hyperlink Dialog when the provided URI is to local path or mapped drive, e.g. "Z:\temp".

Workaround 1: Set HyperlinkPattern to something that matches file paths, e.g.:
(this.radRichTextEditor1.RichTextBoxElement.InsertHyperlinkDialog as InsertHyperlinkDialog).HyperlinkPattern = ".*";

Workaround 2: Insert such paths with the "file://" prefix.
Completed
Last Updated: 04 Jun 2015 13:24 by Chris Ward
To reproduce:
- Add some text so the scrollbars appear.
- Scroll up and down with the mouse wheel.
- When you scroll to the bottom you will notice that there is extra space after the document end.

Workaround: http://www.telerik.com/forums/backspace-key-does-not-properly-invalidate-editor#sP5qkJX4b0S8jwZ3MUGTmQ
Completed
Last Updated: 11 Sep 2015 15:55 by Brennan
When the RadRichTExtEditor.Document is rapidly changed not all memory is released

Workaround: 
Point loc = radRichTextEditor1.Location;
Size size = radRichTextEditor1.Size;
radRichTextEditor1.Dispose();
radRichTextEditor1 = new RadRichTextEditor();
radRichTextEditor1.Location = loc;
radRichTextEditor1.Size = size;

this.Controls.Add(radRichTextEditor1);
Completed
Last Updated: 02 Jul 2018 09:35 by ADMIN
Completed
Last Updated: 03 Jun 2015 13:40 by ADMIN
To reproduce:
- Add RichTextEditorRibbonBar to a form and open it upon button click several times.
- You will notice that the memory is constantly increasing.

Workaround:
protected override void Dispose(bool disposing)
{
    if (disposing && (components != null))
    {
        components.Dispose();
    }

    FieldInfo f1 = this.richTextEditorRibbonBar1.GetType().GetField("tabTableStyle", BindingFlags.NonPublic| BindingFlags.Instance);
    RichTextEditorRibbonTab tab1 = f1.GetValue(richTextEditorRibbonBar1) as RichTextEditorRibbonTab;
    tab1.Dispose();

    FieldInfo f2 = this.richTextEditorRibbonBar1.GetType().GetField("tabTableLayout", BindingFlags.NonPublic | BindingFlags.Instance);
    RichTextEditorRibbonTab tab2 = f2.GetValue(richTextEditorRibbonBar1) as RichTextEditorRibbonTab;
    tab2.Dispose();

    FieldInfo f3 = this.richTextEditorRibbonBar1.GetType().GetField("tabHeaderFooter", BindingFlags.NonPublic | BindingFlags.Instance);
    RichTextEditorRibbonTab tab3 = f3.GetValue(richTextEditorRibbonBar1) as RichTextEditorRibbonTab;
    tab3.Dispose();

    base.Dispose(disposing);
}
Completed
Last Updated: 30 Oct 2017 10:19 by ADMIN
How to reproduce: simply configure Polish keyboard and press [ALT GR] + [C], the added text is "©ć". The expected behavior would be to only add "ć"

Workaround: Handle the CommandExecuting event:
private void RadRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is InsertTextCommand && e.CommandParameter.ToString() == "©")
    {
        e.Cancel = true;
    }
}
Completed
Last Updated: 12 Dec 2017 15:18 by ADMIN
How to reproduce: check the attached project and video

Workaround: create a custom RichTextEditorRibbonBar
Public Class CustomRichTextEditorRibbonBar
    Inherits RichTextEditorRibbonBar

    Protected Overrides Sub HandleFontStylePropertiesOnCurrentEditingStyleChanged()
        If Me.dropDownListFont.BindingContext Is Nothing Then
            Me.dropDownListFont.BindingContext = Me.BindingContext
        End If

        If Me.dropDownListFontSize.BindingContext Is Nothing Then
            Me.dropDownListFontSize.BindingContext = Me.BindingContext
        End If

        MyBase.HandleFontStylePropertiesOnCurrentEditingStyleChanged()
    End Sub

End Class
1 2 3 4 5 6