Completed
Last Updated: 23 Jul 2015 11:25 by ADMIN
Completed
Last Updated: 23 Jul 2015 11:10 by ADMIN
The "Style" gallery is reinitialized each time the AssociatedRichTextEditor is changed.
Completed
Last Updated: 15 Oct 2020 05:07 by ADMIN
Release R3 2020 SP1
To reproduce:
- Add RichTextEditorRuler and RichTextEditor to a form.
- Add some tab stops in the ruler and press the tab key.

Workaround:
void radRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is IncrementParagraphLeftIndentCommand)
    {
        e.Cancel = true;
        TabForwardCommand tabForward = new TabForwardCommand(this.radRichTextEditor1.RichTextBoxElement);
        tabForward.Execute();
    }
}
Completed
Last Updated: 03 Jun 2015 14:06 by ADMIN
To reproduce:
- Add several RadRichTextEditors to a form.
- Change the icon of the FontPropertiesDialog.
- Close the form and force the garbage collector.

Workaround:
protected override void OnClosing(CancelEventArgs e)
{
    base.OnClosing(e);
    foreach (var item in this.Controls)
    {
        var rte = item as RadRichTextEditor;
        if (rte != null)
        {
            ((FontPropertiesDialog)rte.RichTextBoxElement.FontPropertiesDialog).Dispose();
        }
    }
}
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: 23 Nov 2016 11:07 by ADMIN
Workaround: explicitly set the font size of the spans in the heading paragraphs
foreach (Section section in this.radRichTextEditor1.Document.Sections)
{
    foreach (Block block in section.Blocks)
    {
        Paragraph p = block as Paragraph;
        if (p != null && p.StyleName == "Heading1")
        {
            foreach (var item in p.Inlines)
            {
                Span s = item as Span;
                if (s!= null)
                {
                    s.FontSize = p.FontSize;
                }
            }
        }
    }
}
Completed
Last Updated: 16 Sep 2015 08:19 by ADMIN
The LocalizeStrings method of the FloatingBlockPropertiesDialog refers to the "Documents_FindReplaceDialog_ReplaceWith" string. This should be "Documents_FloatingBlockPropertiesDialog_TextWrapping"

Workaround:
public Form1()
{
    InitializeComponent();

    FieldInfo fi = this.radRichTextEditor1.RichTextBoxElement.FloatingBlockPropertiesDialog.GetType().GetField("radPageViewPage2", BindingFlags.NonPublic | BindingFlags.Instance);
    RadPageViewPage textWrappingPage = (RadPageViewPage)fi.GetValue(this.radRichTextEditor1.RichTextBoxElement.FloatingBlockPropertiesDialog);
    textWrappingPage.Text = "TextWrapping";
}
Completed
Last Updated: 21 Jun 2016 06:10 by ADMIN
To reproduce:
Seth the default font like this:

radRichTextEditor1.Document.StyleRepository[RadDocumentDefaultStyles.NormalStyleName].SpanProperties.FontFamily = new Telerik.WinControls.RichTextEditor.UI.FontFamily("Segoe Script");
          
radRichTextEditor1.RichTextBoxElement.ChangeFontFamily(new Telerik.WinControls.RichTextEditor.UI.FontFamily("Segoe Script"));
radRichTextEditor1.RichTextBoxElement.ChangeFontSize(Unit.PointToDip(12));
radRichTextEditor1.RichTextBoxElement.ChangeFontStyle(Telerik.WinControls.RichTextEditor.UI.FontStyles.Italic);
radRichTextEditor1.RichTextBoxElement.ChangeFontWeight(Telerik.WinControls.RichTextEditor.UI.FontWeights.Bold);

Start the application and insert header footer and endnotes.
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: 17 Sep 2015 10:43 by ADMIN
To reproduce:
- Start the demo application 
- Type some text and try to make it bold  with the bold button from the ribbon.

Workaround:
void richTextEditorRibbonBar1_MouseDown(object sender, MouseEventArgs e)
{
    radRichTextEditor1.RichTextBoxElement.SelectionMiniToolBar.Hide();
}
Completed
Last Updated: 03 Jun 2015 12:09 by ADMIN
If you populate the document with more than one section as shown below:

Section Section1 = radRichTextEditor.Document.Sections(0);
Paragraph Paragraph1 = new Paragraph(); 
Span Span1 = new Span("Thank you for choosing Telerik");
Section1.Blocks.Add(Paragraph1);

Section Section2 = new Section();
Paragraph Paragraph2 = new Paragraph();
Paragraph2.Inlines.Add(image);
Section2.Blocks.Add(Paragraph2);
radRichTextEditor..Document.Sections.Add(Section2);

then mark as selected the space after the first span, then try to type a character, a NullReferenceException will be thrown.

WORKAROUND:

class MyInputBehavior : RichTextEditor.RichTextEditorInputBehavior
{
	public MyInputBehavior(RadRichTextBox editor) : base(editor) { }

	public override void InsertText(string text)
	{
		if (this.RichTextBox.IsReadOnly) {
			return;
		}

		Telerik.WinForms.Documents.UI.CaretTextInputHandler handler = null;

		DocumentPrintLayoutPresenter printLayout = this.RichTextBox.ActiveEditorPresenter as DocumentPrintLayoutPresenter;

		if (printLayout != null) {
			DocumentPagePresenter pagePresenter = printLayout.GetFocusedPresenter();
			if (pagePresenter == null) {
				pagePresenter = ((Canvas)printLayout.Content).Children[0] as DocumentPagePresenter;
			}
			handler = pagePresenter != null ? pagePresenter.CaretTextInputHandler : null;
		}

		DocumentWebLayoutPresenter webLayout = this.RichTextBox.ActiveEditorPresenter as DocumentWebLayoutPresenter;

		if (webLayout != null) {
			handler = webLayout.CaretTextInputHandler;
		}

		if (handler != null) {
			handler.HandleTextInsertedWithoutIme(this.RichTextBox.ActiveEditor.Document, text);
		}
	}
}

radRichTextEditor.InputHandler = New MyInputBehavior(radRichTextEditor.RichTextBoxElement)
Completed
Last Updated: 03 Jun 2015 12:24 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Bug Report
1

			
Completed
Last Updated: 02 Nov 2015 12:17 by ADMIN
To reproduce
Write a word in an RightToLeft language and then type "."
You will notice that the dot is moved to the end of the word.
Completed
Last Updated: 31 Mar 2015 07:26 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: RichTextEditor
Type: Bug Report
0
Please refer to the attached gif file.
Completed
Last Updated: 22 Oct 2015 10:54 by ADMIN
Completed
Last Updated: 11 Feb 2015 14:10 by ADMIN
To reproduce:
- Add RadRichTextEditor and RichTextEditorRibbonBar to a form.
- Start the application and add some text.
- Change the font size with the ribbon bar.
- Select the text and open the mini toolbar.