I’m trying to create a drawing tool that can be used through webview.
If I host the html code somewhere and use that for webview, everything works as expected.
However, if I paste the same html code in the “HTML content” box in webview, it doesn’t work.
When the webview loads up, it looks like it should work, but the page isn’t “active” and I can’t interact with it the way I’m supposed to.
This is what I’m using as inspiration for my drawing tool: link
In the log on the page you can see it says: “Initialized.” when the page is opened, but when pasting the same source code in “HTML content”, nothing shows up in the log.
Does anyone have any idea why this is? Thank you in advance.