Unplanned
Last Updated: 08 Jun 2022 08:28 by Prashant
CopyPropertiesFromOverride() method of InlineUIContainer is called more than once for every Copy/Paste command.
Unplanned
Last Updated: 07 Jun 2016 06:17 by ADMIN
To reproduce:
1. Insert a table
2. Select all cells in it
3. Press the Backspace key => the table is removed but the table adorner is still visible

The adorner disappears if clicked
Unplanned
Last Updated: 30 Mar 2016 12:59 by ADMIN
Unplanned
Last Updated: 06 Jan 2017 11:16 by ADMIN
Local properties are not exported to HTML when style is applied over document element (paragraphs, spans, tables) in case the HtmlExportSettings.StyleExportMode is set to Inline.

To reproduce:
- Add two hyperlinks with differents font and font weights.
- Export them with the following code:
private void button1_Click(object sender, EventArgs e)
{
    HtmlFormatProvider html_provider = default(HtmlFormatProvider);
    string htmlBody = null;
    html_provider = new HtmlFormatProvider();
    html_provider.ExportSettings.StylesExportMode = StylesExportMode.Inline;
    html_provider.ExportSettings.StyleRepositoryExportMode = StyleRepositoryExportMode.ExportStylesAsCssClasses;
    htmlBody = html_provider.Export(radRichTextEditor1.Document);
    File.WriteAllText("test.html", htmlBody);
}
- Open the file and you will notice that the custom styles are not exported (the links are having the same style).

Workaround: 
html_provider.ExportSettings.StylesExportMode = StylesExportMode.Classes;
Unplanned
Last Updated: 06 May 2016 13:17 by ADMIN
Workaround:
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        this.radRichTextEditor1.IsSpellCheckingEnabled = true;

        this.radRichTextEditor1.Insert("SOooome wrrrrong wooooooooords.");

        this.radRichTextEditor1.CommandExecuted += radRichTextEditor1_CommandExecuted;
    }

    bool shouldProcess = true;
    private void radRichTextEditor1_CommandExecuted(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutedEventArgs e)
    {
        if (e.Command is DeleteCommand)
        {
            if (shouldProcess)
            {
                shouldProcess = false;
                RichTextEditorInputBehavior behavior = this.radRichTextEditor1.InputHandler;
                behavior.ProcessKeyDown(new KeyEventArgs(Keys.Back));    
            }

            shouldProcess = true;
        }
    }
}

Unplanned
Last Updated: 06 Jun 2016 10:20 by ADMIN
To reproduce:
- Add some misspelled words.
- Enable the spell check - the layout is updated and the words are underlined.
- Disable the spell check - the lines are not removed until one clicks in the RichTextEditor.

Workaround:
 radRichTextEditor1.IsSpellCheckingEnabled = !radRichTextEditor1.IsSpellCheckingEnabled;
 radRichTextEditor1.Document.LayoutMode = DocumentLayoutMode.Paged;
 radRichTextEditor1.Document.LayoutMode = DocumentLayoutMode.Flow;

Unplanned
Last Updated: 25 May 2016 10:19 by ADMIN
Workaround:
string styleSuffix = "_1";
foreach (var importedStyle in rtfDoc.StyleRepository)
{
        importedStyle.Name = string.Concat(importedStyle.Name, styleSuffix);
}
Unplanned
Last Updated: 21 Jun 2024 06:57 by ADMIN
The issue can be observed if you scroll the document by dragging the scrollbar thumb.
Unplanned
Last Updated: 03 Dec 2020 12:09 by ADMIN
After a hyperlink is edited in a RTF document it duplicated
Unplanned
Last Updated: 17 Dec 2020 13:45 by ADMIN

The cell BackColor should be set when setting the paragraph BackColor.

Workaround: use the table properties dialog to set the back color.
Unplanned
Last Updated: 20 Jun 2024 12:11 by ADMIN
When floating image is anchored to the first position of the first paragraph on a page, and there are some empty paragraph on the previous page, sometimes the image is positioned on the previous page instead of along the paragraph.
Unplanned
Last Updated: 07 Jan 2021 05:32 by ADMIN
Character properties applied on the last paragraph symbol for a paragraph in a list, e.g. font size, are not exported to HTML when StyleExportMode is Inline. 

As a side effect, when the document is imported back, and the text of the bullet is deleted, its properties switch back to the default ones.

Workaround: Change the styles to export as inline properties:
htmlProvider.ExportSettings.StylesExportMode = StylesExportMode.Classes;
 
Please be aware that this may cause side effects, as described in this issue: RichTextBox: Character properties of the paragraph symbol are exported to HTML for the whole list item when StyleExportMode is Classes
Unplanned
Last Updated: 23 Apr 2024 20:08 by ADMIN
In RadRichTextEditor columns are narrow, not displaying correctly as in original file.
Unplanned
Last Updated: 10 Apr 2024 13:53 by Benjamin

This is the used code snippet:

        static void Main(string[] args)
        {
            Telerik.WinForms.Documents.Model.RadDocument templateDocument = GetDocument("Template.rtf");
            Telerik.WinForms.Documents.Model.RadDocument contentDocument = GetDocument("Content.rtf");

            Telerik.WinForms.Documents.Model.Merging.InsertDocumentOptions options = new Telerik.WinForms.Documents.Model.Merging.InsertDocumentOptions();
            options.ConflictingStylesResolutionMode = Telerik.WinForms.Documents.Model.Merging.ConflictingStylesResolutionMode.RenameSourceStyle;
            options.InsertLastParagraphMarker = true;

            Telerik.WinForms.Documents.Model.RadDocumentEditor templateEditor = new Telerik.WinForms.Documents.Model.RadDocumentEditor(templateDocument);
            templateEditor.InsertFragment(new Telerik.WinForms.Documents.Model.DocumentFragment(contentDocument));

    
            string mergedDocumentFilePath = "MergeDocumentsWithRichTextEditor.rtf";
            File.Delete(mergedDocumentFilePath);
            WriteDocToFile(templateDocument, mergedDocumentFilePath);

        }
        private static Telerik.WinForms.Documents.Model.RadDocument GetDocument(string rtfFilePath)
        {
            Telerik.WinForms.Documents.Model.RadDocument document = null;
            var rtfImporter = new Telerik.WinForms.Documents.FormatProviders.Rtf.RtfFormatProvider();
            using (Stream stream = File.OpenRead(rtfFilePath))
            {
                document = rtfImporter.Import(stream);
            }
            return document;
        }


        private static void WriteDocToFile(Telerik.WinForms.Documents.Model.RadDocument doc, string filename)
        {
            var rtfExporter = new Telerik.WinForms.Documents.FormatProviders.Rtf.RtfFormatProvider();
            string rtfText = rtfExporter.Export(doc);
            File.WriteAllText(filename, rtfText);

            Process.Start(filename);
        }

Observed result: 

Expected result: keep the After spacing as it is in the original documents.

Unplanned
Last Updated: 09 Apr 2024 13:38 by ADMIN
Pasting from Excel will add the text to a table. Keep Text Only paste option should ignore the table and paste only the text. 
Unplanned
Last Updated: 01 Mar 2021 16:09 by ADMIN
Bookmarks are not imported and missing from a specific document scenario.

Workaround: Import and then export the document using the WordsProcessing library and then open it with the editor.
Unplanned
Last Updated: 05 Apr 2024 08:42 by ADMIN

In the Fluent theme, the Font Size Dropdown of the SelectionMiniToolBar is not wide enough.

Unplanned
Last Updated: 31 Mar 2021 09:06 by ADMIN
To reproduce the problem create new blank Word document (from MS Word). Hold Alt key and type 0268. You will see a letter Č (Latin letter C with caron). In Visual Studio create a Word-inspired project, and run it. Copy the text from Word document to the Telerik RTF editor. Now in Telerik RTF editor change the font of this letter to Algerian. I have Algerian font with my Office 2013, so I hope you'll have it too; you can use Symbol font instead of Algerian for the same result. My Algerian font does not support letter Č, so in Telerik RTF editor I will see a narrow empty box (also called "tofu") instead of letter Č.
Unplanned
Last Updated: 04 Aug 2021 13:42 by ADMIN
The CSS style names shouldn't contain non-ASCII characters and if present, they should be escaped. HtmlFormatProvider doesn't escape them while exporting and cannot properly import the generated file.
Unplanned
Last Updated: 17 Jun 2024 13:51 by ADMIN
The command tabs collection in the RichTextEditorRibbonBar is not intended to be modified design time. The EditCommandTabs option in the smart tag should not be available. This collection is recreated the moment you close and reopen the designer. The same will happen when you run the application. This option should be removed from the smart tag.