Closed RandomFractals closed 3 years ago
we can probably just use iframe for this and set it to GET url for the page to get started.
By webview, do you mean by a rendered view of the html received? if this is the case there is actually already an output for rendered html
@tanhakabir oh, somehow I missed that part in docs and have not tried to just load a simple google.com page. will give it a go. Thanks!
nope. I get raw html that is not even formatted:
oh, you mean I have to click on </>
and pick a built-in html renderer? probably need to update docs for this part:
also, looks like styles on nb cell and nb view page are not cleared and overiden by the loaded page:
Expected white google page render background in that cell output and retaining dark plus theme for the nb view ;)
i.e. should be rendered in iframe. I don't even know how that bg color got flipped there.
@jrieken are we using same dom for loading cell output styles, etc. as the main nb view?
also, note that google branding logo image did not load in that built-in html mime type output renderer :(
probably need to update docs for this part
👍
also, looks like styles on nb cell and nb view page are not cleared and overidden by the loaded page
This looks like a bug and not intentional! Creating an issue for that now
for rendering actual web pages, in addition to XMLView to display html response in xml tree (#86)