allow to give a div other than the default one (with id=svg_editor)

This commit is contained in:
JFH
2021-08-02 00:12:20 +02:00
parent 8644836f4e
commit 5435ab9a59
6 changed files with 13 additions and 28 deletions

View File

@@ -40,8 +40,8 @@ class Editor extends EditorStartup {
/**
*
*/
constructor() {
super();
constructor(div = null) {
super(div);
/**
* @type {boolean}
*/