Last Updated: 20 Jun 2017 05:39 by ADMIN
Created on: 12 May 2015 16:08
Category: RichTextEditor
Type: Bug Report
FIX. RadRichTextEditor - pasting from MS Word when the default font settings are different than the ones in RadRichTextEditor causes loss of formatting
Workaround: load an empty docx document in the RadRichTextEditor and use it as a template
public RadDocument ImportDocx()
    RadDocument document = null;
    IDocumentFormatProvider provider = new DocxFormatProvider();
    OpenFileDialog openDialog = new OpenFileDialog();
    openDialog.Filter = "Documents|*.docx";
    openDialog.Multiselect = false;
    DialogResult dialogResult = openDialog.ShowDialog();
    if (dialogResult == System.Windows.Forms.DialogResult.OK)
        using (Stream stream = openDialog.OpenFile())
            document = provider.Import(stream);
    return document;
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
Dess | Tech Support Engineer, Sr.
Posted on: 20 Jun 2017 05:39
Missing functionality. A feature request has been logged: