Koki Oyatsu 6 лет назад
Родитель
Сommit
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 endLineNumber
    */

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

@@ -754,7 +754,7 @@ export default class CodeMirrorEditor extends AbstractEditor {
         <EditorIcon icon="Table" />
       </Button>,
       <Button
-        key="nav-item-table"
+        key="nav-item-drawio"
         bsSize="small"
         title="draw.io"
         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';
 
 /**
- * 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 {