question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

V8.2 - Image in RTE looses it's Url

See original GitHub issue

I was working in 8.1.5, when I noticed that Items retrieved on an APIController, have an empty Url for Image properties. I.e. the Image property is there, it has an Id and UmbracoFile.Src and all, but Url is empty.

I upgraded to 8.2, just to see if it was a bug that was fixed, and now there’s a secondary issue, and the purpose of this ticket. If I add an image to a RTE inside a grid, it is initially displayed fine, but when I save and publish, it vanishes.

The code when I insert the image is <img src="/media/1016/warning.jpg" alt="" data-udi="umb://media/e375b74ab95140df9f5b3eb7d121ab95" /> After saving, the src-tag is gone : <img alt="" data-udi="umb://media/e375b74ab95140df9f5b3eb7d121ab95" />

I have reverted my code to 8.1.5 and this behaviour is now working again.

I can’t help but feel it may be related to the Url being empty.

Reproduction

Add an image to an RTE field inside a Grid.

Expected result

Image keeps it’s src-tag

Actual result

src-tag becomes empty after save.


This item has been added to our backlog AB#3246

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jmaxwell1562commented, Oct 22, 2019

I’m just rendering the grid in razor. Updating the Rte.cshtml worked. Thanks.

0reactions
clausjensencommented, Nov 5, 2019

Closing this one - the Rte.cshtml fix is scheduled for 8.4.0 (https://github.com/umbraco/Umbraco-CMS/issues/6763).

Read more comments on GitHub >

github_iconTop Results From Across the Web

richtext editor - Media item (image) and RTE
I'm running into an issue with using images in RTE. Images upload as expected into the medialibrary so no issues there.
Read more >
Configure the Rich Text Editor to author content in Adobe ...
You may lose the hyperlink when editing it again and validating the hyperlink for the second time. A workaround is to click in...
Read more >
rich text editor media picker problem
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...
Read more >
Deactivating AutoLinking in RTE editor - Typo3
Whenever a link is typed in the RTE editor, it will automatically be enclosed in an tag and converted to a link. Is...
Read more >
External link is removed when editing a comment and ...
Summary. Under a specific test case, the external link in the comment is being removed. See the attached video and steps to reproduce...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found