diff --git a/editor/embedapi-dom.js b/editor/embedapi-dom.js index 36a6c5a3..e4a3d51e 100644 --- a/editor/embedapi-dom.js +++ b/editor/embedapi-dom.js @@ -93,7 +93,7 @@ function exportPDF () { const frameBase = 'https://raw.githack.com/SVG-Edit/svgedit/master'; // const frameBase = 'http://localhost:8001'; const framePath = '/editor/xdomain-svg-editor-es.html?extensions=ext-xdomain-messaging.js'; -const iframe = $(''); +const iframe = $(''); iframe[0].src = frameBase + framePath + (location.href.includes('?') // ? location.href.replace(/\?(?.*)$/, '&$') diff --git a/editor/extensions/ext-imagelib.js b/editor/extensions/ext-imagelib.js index 773d0818..87a9f875 100644 --- a/editor/extensions/ext-imagelib.js +++ b/editor/extensions/ext-imagelib.js @@ -381,7 +381,7 @@ export default { const allLibs = imagelibStrings.select_lib; const libOpts = $('