CommunityToolkit / Microsoft.Toolkit.Win32

ARCHIVE - This repository contained XAML Islands wrapper controls and tooling for XAML Islands with WinUI 2, see readme for more info about XAML Islands with WinUI 3 and the WindowsAppSDK.
https://aka.ms/windowsappsdk
Other
383 stars 89 forks source link

How to make WebView editable? #226

Closed lalitpatil007 closed 4 years ago

lalitpatil007 commented 4 years ago

Like WebBrowser, how WebView can be made editable? WebView does not seem to have document property that can be typecasted to IHTMLDocument2 or HTMLDocument (designMode = "On"). Scripting is the only way or is there any better way to make it editable?

Kindly let me know.

Thanks

michael-hawker commented 4 years ago

Hi @lalitpatil007 are you talking about modifying the DOM? I believe that question has already been asked on the new WebView feedback repo. They don't plan to expose the DOM directly. However, feel free to voice your scenario there.

FYI @pagoe-msft

lalitpatil007 commented 4 years ago

Thanks @michael-hawker . Yes I was referring to modifying DOM.