Closed amancini closed 2 years ago
I just added the TWVBrowserBase.SimulateEditingCommand function to simulate more than 130 editing commands.
It uses an experimental parameter of the "Input.dispatchKeyEvent" DevTools method but it seems to work fine with the editing commands that don't require extra parameters.
I also modified the EditorBrowser demo to use TWVBrowserBase.SimulateEditingCommand for most of the editing functions.
The TWVBrowserBase.RetrieveHTML function and the TWVBrowserBase.OnRetrieveHTMLCompleted event can be used to get the HTML source.
Try TWVBrowserBase.KeyboardShortcutSearch to open the search box included in WebView2.
wow, thanks
Hello,
Thanks for your work. You are amazing.
please add some useful function:
SelectAll
CopySelected
ClearSelection
FindText
this function is call by event onFind of standard TFindDialog
SaveToFile
Get HTML Source and SaveToFile
end;
Best regards Alessandro Mancini