From 13cfbc6feb4c291d5e2121f5705f74d0f5c9dfb6 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 28 Dec 2016 10:05:47 +0100 Subject: [PATCH] fix image prompt --- src/editor/plugins/core/img/imgElement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/plugins/core/img/imgElement.js b/src/editor/plugins/core/img/imgElement.js index ae0e081..ff3dad3 100644 --- a/src/editor/plugins/core/img/imgElement.js +++ b/src/editor/plugins/core/img/imgElement.js @@ -47,7 +47,7 @@ _.extend(linkElement, { refreshLink: function(linkUrl) { this._container().text(''); - if (linkUrl) { + if (linkUrl && linkUrl !== 'http://') { this._container().text(''); this._container().attr('style', 'background-image: url(\'' + linkUrl + '\');'); } else { -- 2.20.1