diff --git a/plugins/dev-tools/src/screenshot.js b/plugins/dev-tools/src/screenshot.js index 46f8b1d2b8..a33ebea579 100644 --- a/plugins/dev-tools/src/screenshot.js +++ b/plugins/dev-tools/src/screenshot.js @@ -71,7 +71,6 @@ function workspaceToSvg_(workspace, callback, customCss) { const blockCanvasClone = blockCanvas.cloneNode(true); blockCanvasClone.removeAttribute('transform'); - const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'); svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg'); svg.setAttribute('viewBox', x + ' ' + y + ' ' + width + ' ' + height);