I looked in the src repository on git hub and changed it to
@model dynamic
@using Umbraco.Web.Composing
@using Umbraco.Web.Templates
@{
var value = TemplateUtilities.ParseInternalLinks(Model.value.ToString(), Current.UmbracoContext.UrlProvider);
value = TemplateUtilities.ResolveUrlsFromTextString(value);
value = TemplateUtilities.ResolveMediaFromTextString(value);
}
@Html.Raw(value)
This fixed the issue, but VS complains that TemplateUtilities is obsolete, so what should the view be for 8.6.3?
Issue seems to have been caused by installing a third party package which must have overwritten the rte.cshtml file, however even with a fresh project and install of UmbracoCms via nuget still states that TemplateUtilities is obsolete
Rich Text Editor Media picker problem Images not showing in Pages
I would like to start by saying what a fantastic product you have, only been playing for a couple of weeks, but very impressed so far.
I am using the latest Umbraco version 8.6.3 and have an issue when adding images in the Rich Text Editor.
When I select an image, it adds the following imgtag to the content
All good you think, however when this actually renders in the page, the img tag becomes.
It looses the src url?? Can anyone point me to where/why this might be happening?
I managed to track down the problem, my /Views/Partials/Grid/Editors/Rte.cshtml was as below
I looked in the src repository on git hub and changed it to
This fixed the issue, but VS complains that TemplateUtilities is obsolete, so what should the view be for 8.6.3?
Issue seems to have been caused by installing a third party package which must have overwritten the rte.cshtml file, however even with a fresh project and install of UmbracoCms via nuget still states that TemplateUtilities is obsolete
The problem was caused by installing the codeshare starter kit.
I'm experiencing the same issue. Any luck fixing it?
yes, see my earlier post in the thread
Yeap had the same issue
https://our.umbraco.com/forum/using-umbraco-and-getting-started/102925-issue-with-media-and-rte
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.