Every single place I have tested this outside of our Jive Cloud widgets has worked.
Attempting to wrap a simple <div> block with an <a> tag gets reformatted for some reason.
Here is the simpel code I am attempting to do:
<a target="_blank" href="https://google.com">
<div class="graphic development">
Nothing out of the ordinary.
But when I publish the widget, it gets reformatted:
The <a> tag doesn't wrap my div anymore. HTML5 allows for <divs> to be wrapped by <a> tags.
Only way I have found to get what I want is to do:
<div class="block" style="cursor:pointer" onclick="window.open('https://atlas.dish.com/docs/DOC-1572')">
Which I dislike because I am adding onclick unnecessarily (when HTML5 supports my desired method).
We have a few overview pages that have a different way to edit widgets, tile based vs widget based. Tiles work fine with the desired method of <a><div></div></a>.
Is there a reason this doesn't work in Jive Cloud widgets?
Retrieving data ...