Hi, I have two questions.
Version: 0.0.54.
First:
An exception occurs when the node data key has ',' or '|'.
code:
editor.import(drawflow: {
Home: {
data: {
1: {
id: 1,
name: "welcome",
data: {
test: {
"aaa,a": "1",
"aaa|a": "1",
},
},
class: "welcome",
html: '<div>test</div>',
typenode: false,
inputs: {},
outputs: {},
pos_x: 50,
pos_y: 50,
},
},
},
},)
Second:
If the root dom has class, the outside of '.drawflow' cannot be dragged.
I think it was caused by here:

In this demo, it will be reproduced.
Hi, I have two questions.
Version: 0.0.54.
First:
An exception occurs when the node data key has ',' or '|'.
code:
Second:
If the root dom has class, the outside of '.drawflow' cannot be dragged.
I think it was caused by here:
In this demo, it will be reproduced.