Hi Jørgen, I just tested with Episerver.CMS 12.10 and Episerver.CMS.UI 12.10, and it works for me with an image in «for this page», inside a xhtmlstring property.
Note: it's not enought to «hold the mouse over the ImageFile inside the xhtmlstring property», I'll have to click the image once in order for the «Go to media» popup to show.
Thanks for testing. But I am adressing a litle different approach then what you have tested. When you use the Image icon in the tinymce editor and then links to the image, you will get the "Go to media" dialog. And it works! But when not using the image plugin in tinymce, and just drags the image file directly into the xhtmlstring property. Then you get a "Edit" dialog, and click on this dialog fails.
Found in EPiServer.CMS 12.10 (EPiServer.CMS.UI 12.10)
Steps to reproduce:1. Create a block or Page with an XHtmlString property
2. Put a ImageFile in the "For this block" og "For this page" asset folder
3. Drag this Imagefile into the XHtmlString property
4. UPDATED: Make sure you have a displaytemplate for your ImageFile that renders someting else then an img tag. In my site I render a picture tag.
5. Hold the mouse over the ImageFile inside the Xhtmlstring property
Expected: Click on "Edit" / "Rediger" opens the ImageFile in it's location.
Actual: Nothing happens when clicking on the Edit box.
Notes: The issue doesn't happen when the ImageFile is located in the global asset tree. I Have not tested with other blocktypes, only Image.