diff --git a/editor/extensions/imagelib/index.html b/editor/extensions/imagelib/index.html index f5b674a4..0c39c28b 100644 --- a/editor/extensions/imagelib/index.html +++ b/editor/extensions/imagelib/index.html @@ -1,14 +1,15 @@ - + + + + - - +

Select an image:

smiley.svg
logo.png - + + diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 8f7e795a..970b6f9e 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -4612,7 +4612,7 @@ try { window.addEventListener('message', function(e) { // We accept and post strings for the sake of IE9 support - if (typeof e.data !== 'string') { + if (typeof e.data !== 'string' || e.data.charAt() === '|') { return; } var data = JSON.parse(e.data);