fix(chore): make svgedit less intrusive by adding components in its div instead of document.body.
This commit is contained in:
@@ -40,7 +40,7 @@ export default {
|
||||
let showGrid = svgEditor.configObj.curConfig.showGrid || false;
|
||||
|
||||
hcanvas.style.display = 'none';
|
||||
document.body.appendChild(hcanvas);
|
||||
svgEditor.$svgEditor.appendChild(hcanvas);
|
||||
|
||||
const canvasGrid = svgdoc.createElementNS(NS.SVG, 'svg');
|
||||
assignAttributes(canvasGrid, {
|
||||
|
||||
Reference in New Issue
Block a user