소스 검색

[draw.io] minor fixes.

Koki Oyatsu 6 년 전
부모
커밋
879142d2e7

+ 1 - 1
src/client/js/components/Page.jsx

@@ -50,7 +50,7 @@ class Page extends React.Component {
   }
   }
 
 
   /**
   /**
-   * launch DrawioIFRame with data specified by arguments
+   * launch DrawioIFrame with data specified by arguments
    * @param beginLineNumber
    * @param beginLineNumber
    * @param endLineNumber
    * @param endLineNumber
    */
    */

+ 1 - 1
src/client/js/components/PageEditor/CodeMirrorEditor.jsx

@@ -754,7 +754,7 @@ export default class CodeMirrorEditor extends AbstractEditor {
         <EditorIcon icon="Table" />
         <EditorIcon icon="Table" />
       </Button>,
       </Button>,
       <Button
       <Button
-        key="nav-item-table"
+        key="nav-item-drawio"
         bsSize="small"
         bsSize="small"
         title="draw.io"
         title="draw.io"
         onClick={this.showDrawioHandler}
         onClick={this.showDrawioHandler}

+ 2 - 2
src/client/js/util/interceptor/drawio-interceptor.js

@@ -5,9 +5,9 @@ import { BasicInterceptor } from 'growi-commons';
 import Drawio from '../../components/Drawio';
 import Drawio from '../../components/Drawio';
 
 
 /**
 /**
- * The interceptor for lsx
+ * The interceptor for draw.io
  *
  *
- *  replace lsx tag to a React target element
+ *  replace draw.io tag (render by markdown-it-drawio-viewer) to a React target element
  */
  */
 export class DrawioInterceptor extends BasicInterceptor {
 export class DrawioInterceptor extends BasicInterceptor {