Radzen html insert link issue

I noticed the insert link have an issue where if the cursor in the editor pointing doesn't have anything (string, image, etc), the insert link dialog box wont have the text, just have the web address textbox. So, when insert without the text for the link, it wont show anything if only insert the web url. Could someone explain it. Thanks.

Hi @Ck_Cheah,

RadzenHtmlEditor will not show the text if the selection is not empty. It seems you have discovered a case where this doesn't work. How can we reproduce it in our online demo? Where did you click to get that result?

@korchev , pretty simple, just place the mouse cursor into blank place in editor (totally empty) and click the insert link button.

Thanks, I was able to reproduce the issue. In that exact place the selection is a new line (<br>) which is why it doesn't work. We will handle this case with the next release.

1 Like

Hi @korchev,

We need a feature that allows us to add a link while inserting an image. Currently, the insert image dialog doesn’t support this, and when selecting the image in the editor and try the "Insert Link" option, it doesn't let us wrap the image with an anchor. Do you have any suggestions or workarounds for this?
Thanks