use 'readTree' to parse data file
This commit is contained in:
1 parent
7478e1fa0f
commit
4d1d09fe80
12 files changed
+60
-30
No files matched your search
@@ -568,7 +568,7 @@ export const Editor: FC<EditorProps> = ({ onUpdate: updateState, data: editor, .
|
||||
workspace.onEditingNode({
|
||||
data: b3util.createNode(data, false),
|
||||
editable: !isSubtreeNode(data),
|
||||
limit_error: !b3util.checkChildrenLimit(data),
|
||||
limitError: !b3util.checkChildrenLimit(data),
|
||||
});
|
||||
setItemState(editor.selectedId, "selected", true);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user