svgedit/editor/xdomain-svgedit-config-es.js

6 lines
134 B
JavaScript

import svgEditor from './svg-editor.js';
svgEditor.setConfig({
canvasName: 'xdomain', // Namespace this
allowedOrigins: ['*']
});