Issue #1497Opened October 10, 2018by kuldeepcis0 reactions

Inner element content change with pop-up

Question

Code SnippetTEXT
Hello @artf 

I've make pop-up for select custom link data with image. Now all the data reflected properly but when I try to change src than it's not working please let me know how to fix that. When input image URL in field 'Link Text(image URL)' than it should be update image in canvas. Please guide me.

This is live Demo: https://jsfiddle.net/gwojsok7/50
I've also console log the URL and this is in js section on line number 144

`save: function() {
            var attributes = data.component.get("attributes");
            attributes.href = this.getHref();
            attributes.title = this.title;
 data.component.set("attributes", attributes);
var image_url = this.content;
		console.log(image_url);
            data.component.view.render();
            editor.Modal.close();
          }`

![image](https://user-images.githubusercontent.com/16045467/46745665-23738200-cccb-11e8-8bf5-c5f699002de1.png)

Thanks is advance.

Answers (1)

lock[bot]October 11, 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.