Open joewheaton opened 3 years ago
I just tested two possible solutions. Neither worked.
I tried putting in a HTML link with a target attributeusing the following. Weirdly, this didn't render at all and Jekyll just spat out the raw HTML in the final document. I thought straight HTML got interpreted?
<a href="https://northarrowresearch.com" target=”_blank”>NAR</a>
I tried an approach that I found here. In ArcRAVE this did nothing. The link just opened in the About form web control. In QRAVE it just caused a blank page in the form's web control.
RAVE is brought to you for free by the [Riverscapes Consortium](http://riverscapes.xyz){:target="_blank"}
I suspect this could be more about configuring the control itself than anything to do with the markdown. There might be a "render images" checkbox or a "open links in browser" checkbox. I'll take a look when I'm back
Ok, so external links were easy but apparently the control I'm using won't do image downloads and trying to use the QWebEngineView crashes the designer immediately
I'm not alone in my frustration here: https://github.com/qgis/QGIS/issues/41381
No solution yet. We might need a workaround.
One work around for now is we remove images from the markdown.
So am I to understand correctly that getting the links to open in browser was okay?
Yeah. The browser pops open just fine.
I think the no images thing is probably the short term fix. I would like them to load (and there's no reason we shouldn't be able to do that) but the obvious fix didn't work.
I'll leave this open and we'll circle back in the next milestone.
Action required: Remove images from markdown file.
The short term fix is done for now. I'm pushing this issue forward so we eventually get a proper fix
The Problem
The update of Acknowledgements associated with completing https://github.com/Riverscapes/RaveAddIn/issues/3 , revealed that any hyperlinks within the acknowledgements do not open in an external browser (what we want) and instead just open within the frame.
This is related to https://github.com/Riverscapes/RaveAddIn/issues/155 but different behavior here in the QPlugin.
Reproduction steps
Watch second part of video for behavior:
What we'd like
Is it possible to get the images to show up and the hyperlinks to open the user's default browser?