Closed letsfindaway closed 1 year ago
A first step would be to make the UBEmbedController
and UBEmbedParser
independent of any QWebEngine
things. The controller should just manage the dialog, the parser should just parse the HTML.
it should then be possible to wire these classes to the web browser as well as to the mime type handling in UBBoardController::downloadFinished()
.
Closed as related branch was merged.
When pasting the URL of a web page on the board, show the embed dialog just as if the "Embed" button was pressed in the web browser.
This would allow easy access to this function without the need to switch to web mode, paste the URL there, and then press the "Embed" button.