Feature Request: WebBrowserComponent::loadHTMLString()


I see from a previous thread (http://www.juce.com/forum/topic/html-formatting) that the WebBrowserComponent does not have a method to display an HTML string. Instead we need to save to a file, then specify that file as a local URL.

Could you add a method to feed an HTML string to the underlying browser object directly (eg. the WebView on Mac)?



This may or may not be possible.. Depends on the underlying OS functionality.. We'll add it to our backlog to take a look, but not sure when we'd have time to look into it.

Okay, thanks!

It seems pretty possible. :slight_smile:

Have a look here: https://github.com/jkoutavas/juce_HTMLStringDemo