소스 검색

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" },