Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How can i configure the RTE to use absolute urls for images?
I'm not certain, but you can probably do something like the views\grid\editors\rte.cshtml does maybe?
it currently does this
@using Umbraco.Cms.Core.Templates @model dynamic @inject HtmlLocalLinkParser HtmlLocalLinkParser; @inject HtmlUrlParser HtmlUrlParser; @inject HtmlImageSourceParser HtmlImageSourceParser; @{ var value = HtmlLocalLinkParser.EnsureInternalLinks(Model?.value.ToString()); value = HtmlUrlParser.EnsureUrls(value); value = HtmlImageSourceParser.EnsureImageSources(value); } @Html.Raw(value)
I tried this in appsettings but don't works.
"RichTextEditor": { "CustomConfig": { "entity_encoding": "raw", "relative_urls": false }, }
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.
Continue discussion
Using Absolut url for images in RTE
How can i configure the RTE to use absolute urls for images?
I'm not certain, but you can probably do something like the views\grid\editors\rte.cshtml does maybe?
it currently does this
I tried this in appsettings but don't works.
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.