Loading editor/html/js/properties.js +3 −3 Changes for editor/html/js/properties.js: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ var PropertiesPanel = (function() { target.ed.focus(); document.execCommand('insertHTML', false, wrapper.innerHTML); target.hi.value = target.ed.innerHTML; target.hi.dispatchEvent(new Event('change')); target.hi.dispatchEvent(new Event('change', { bubbles: true })); }); }); } Loading Loading @@ -936,10 +936,10 @@ var PropertiesPanel = (function() { var svgInput = form.querySelector('[name="' + field.svgTargetKey + '"]'); if (svgInput) { svgInput.value = icon.svg || ''; svgInput.dispatchEvent(new Event('change')); svgInput.dispatchEvent(new Event('change', { bubbles: true })); } } inp.dispatchEvent(new Event('change')); inp.dispatchEvent(new Event('change', { bubbles: true })); }); }); })(input, iconPreview); Loading Loading
editor/html/js/properties.js +3 −3 Changes for editor/html/js/properties.js: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ var PropertiesPanel = (function() { target.ed.focus(); document.execCommand('insertHTML', false, wrapper.innerHTML); target.hi.value = target.ed.innerHTML; target.hi.dispatchEvent(new Event('change')); target.hi.dispatchEvent(new Event('change', { bubbles: true })); }); }); } Loading Loading @@ -936,10 +936,10 @@ var PropertiesPanel = (function() { var svgInput = form.querySelector('[name="' + field.svgTargetKey + '"]'); if (svgInput) { svgInput.value = icon.svg || ''; svgInput.dispatchEvent(new Event('change')); svgInput.dispatchEvent(new Event('change', { bubbles: true })); } } inp.dispatchEvent(new Event('change')); inp.dispatchEvent(new Event('change', { bubbles: true })); }); }); })(input, iconPreview); Loading