Adding anchor tag for image in Cleditor

114 Views Asked by At

I am using Cleditor for my project. I need to add hyperlink for my image. But if I select image the add hyperlink is not working. But if I select any text the add hyperlink is works well. Is there any way to add hyperlink for image?

Update 2

Here I have given the demo page of Cleditor Demo. On this page please upload a image using Insert image link. And then select the image that you have uploaded and click Insert Hyperlink button. On that case I cannot able to add link for image.

1

There are 1 best solutions below

1
Raghvendra Kumar On

Please first select the image that you have inserted as you would select any text before turning it into a hyperlink.

I have tried and it works. After you insert the image just select it like a regular block of text and click on insert hyperlink.

Hope it helps!