Merge pull request #2460 from mwanchap/U4-10821

Fix for U4-10821, render alt text attribute from grid image editor (uduf hackathon)
This commit is contained in:
Robert
2018-03-05 14:35:23 +01:00
committed by GitHub

View File

@@ -13,8 +13,10 @@
url += "&mode=crop";
}
}
var altText = Model.value.altText ?? Model.value.caption ?? string.Empty;
<img src="@url" alt="@Model.value.caption">
<img src="@url" alt="@altText">
if (Model.value.caption != null)
{