浏览代码

add support for colorization

Aykut Saraç 3 年之前
父节点
当前提交
b5e823e13d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/containers/LiveEditor/helpers.ts

+ 1 - 1
src/containers/LiveEditor/helpers.ts

@@ -21,7 +21,7 @@ export function getEdgeNodes(graph: any): any {
 
       nodes.push({
         id: el.id,
-        text: text,
+        text: el.text,
         width: 35 + longestLine * 8,
         height: 30 + lines.length * 10,
         data: { type: "special" },