Fix #539: replace IE WebView with Edge WebView2

This commit is contained in:
Paddy Xu
2021-01-10 14:50:56 +01:00
parent 9c384be49c
commit 7cf0d0affb
9 changed files with 146 additions and 311 deletions

View File

@@ -54,7 +54,7 @@ namespace QuickLook.Plugin.MarkdownViewer
context.ViewerContent = _panel;
context.Title = Path.GetFileName(path);
_panel.LoadHtml(GenerateMarkdownHtml(path));
_panel.NavigateToHtml(GenerateMarkdownHtml(path));
_panel.Dispatcher.Invoke(() => { context.IsBusy = false; }, DispatcherPriority.Loaded);
}