Unplanned
Last Updated: 19 Mar 2021 06:18 by ADMIN
Oksana
Created on: 19 Mar 2021 06:17
Category: RichTextEditor
Type: Bug Report
1
RichTextEditor: One cannot paste when the AutomaticallyLoadFormatProviders property is false

One cannot paste when the AutomaticallyLoadFormatProviders property is false. Even if you register the format providers manually: 

public MainWindow()
{
    DocumentFormatProvidersManager.AutomaticallyLoadFormatProviders = false;
    DocumentFormatProvidersManager.RegisterFormatProvider(new HtmlFormatProvider());
    DocumentFormatProvidersManager.RegisterFormatProvider(new RtfFormatProvider());
    DocumentFormatProvidersManager.RegisterFormatProvider(new DocxFormatProvider());
    DocumentFormatProvidersManager.RegisterFormatProvider(new Telerik.Windows.Documents.FormatProviders.Xaml.XamlFormatProvider());
    InitializeComponent();
}
0 comments