diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/views/nodes/DiagramBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DiagramBox.tsx b/src/client/views/nodes/DiagramBox.tsx index 27f9d2a86..04dee5d23 100644 --- a/src/client/views/nodes/DiagramBox.tsx +++ b/src/client/views/nodes/DiagramBox.tsx @@ -56,6 +56,7 @@ export class DiagramBox extends ViewBoxAnnotatableComponent<FieldViewProps>() im } this.renderMermaidAsync(this.chartContent) this.testInkingStroke() + } renderMermaid = async (str: string) => { try { @@ -181,8 +182,7 @@ export class DiagramBox extends ViewBoxAnnotatableComponent<FieldViewProps>() im } } - console.log(this) - this.addDocument(Docs.Create.TextDocument("asd", { title:"hellotitle", x: 0, y: 0 })); + this.addDocument(Docs.Create.TextDocument("text", { title:"title", x: 0, y: 0 })); let docArray: Doc[] = DocListCast(this.Document.data); console.log(docArray.length) //console.log(mermaidCode) |
