We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cafb25 commit 4395b55Copy full SHA for 4395b55
source/js/cms/img.js
@@ -91,9 +91,7 @@ CMS.registerEditorComponent({
91
// (component gives better render performance)
92
toPreview: function (obj) {
93
let href = window.location.href.split('?')[0].split('#')[0];
94
- console.log(href);
95
let root = href.substring(0,href.length-7);
96
- console.log(root);
97
if (!obj.path) {
98
return `Please choose image!!`;
99
}
0 commit comments