config array be set with safe origins or otherwise reject `postMessage` messages in case from untrusted sources - Security fix/Breaking change (xdomain): Namespace xdomain file to avoid it being used to modify non-xdomain storage - Security fix (Imagelib): Expose `dropXMLInternalSubset` to extensions for preventing billion laughs attack (and use in Imagelib)
7 lines
167 B
JavaScript
7 lines
167 B
JavaScript
import svgEditor from './svg-editor.js';
|
|
svgEditor.setConfig({
|
|
canvasName: 'xdomain', // Namespace this
|
|
allowedOrigins: ['*'],
|
|
allowedImageLibOrigins: ['*']
|
|
});
|