Issue #418Opened October 13, 2017by justvinz0 reactions

Can't replace image if it's inside a link

Question

Hi,

If import this code inside the editor:

<a href="http://www.google.com">
	<img src="http://via.placeholder.com/350x150">
</a>

And double click the image to change it, when I choose a new image from the modal, nothing happens.

Answers (2)

artfOctober 13, 20170 reactions

Ok, probably I have to set the Link Component not editable if children nodes are not texts. At the moment, you have to set it explicitly

<a href="http://www.google.com" data-gjs-editable="false">
	<img src="http://via.placeholder.com/350x150">
</a>
lock[bot]September 18, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.