diff options
| author | Zachary Zhang <zacharyzhang7@gmail.com> | 2024-05-06 19:11:19 -0400 |
|---|---|---|
| committer | Zachary Zhang <zacharyzhang7@gmail.com> | 2024-05-06 19:11:19 -0400 |
| commit | 8ceb33fe779341205691a354451ae7672a0b162a (patch) | |
| tree | 4e62d9b05814fa69b8995db46288cabe147889fb /src | |
| parent | c32c2b48258c0d104921ecdbd6eeb514a814595e (diff) | |
add docArray console.log
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) |
