soumaeda 2 лет назад
Родитель
Сommit
93c4a2018b
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      apps/app/src/components/PageEditor/MarkdownDrawioUtil.js

+ 2 - 1
apps/app/src/components/PageEditor/MarkdownDrawioUtil.js

@@ -20,7 +20,7 @@ class MarkdownDrawioUtil {
     return editor.state.doc;
   }
 
-  // get first line numbet
+  // get first line number
   firstLine() {
     return 1;
   }
@@ -30,6 +30,7 @@ class MarkdownDrawioUtil {
     return this.doc(editor).lines;
   }
 
+  // get line information
   getLine(editor, lineNum) {
     return this.doc(editor).line(lineNum);
   }