فهرست منبع

chore: add TODO comments

yukendev 2 سال پیش
والد
کامیت
0ade623be1

+ 3 - 2
packages/editor/src/components/CodeMirrorEditor/Toolbar/DiagramButton.tsx

@@ -3,8 +3,8 @@ import { useCallback } from 'react';
 import { useDrawioModalForEditor } from '../../../stores/use-drawio';
 import { useDrawioModalForEditor } from '../../../stores/use-drawio';
 
 
 type Props = {
 type Props = {
-  editorKey: string,
-}
+  editorKey: string;
+};
 
 
 export const DiagramButton = (props: Props): JSX.Element => {
 export const DiagramButton = (props: Props): JSX.Element => {
   const { editorKey } = props;
   const { editorKey } = props;
@@ -14,6 +14,7 @@ export const DiagramButton = (props: Props): JSX.Element => {
   }, [editorKey, openDrawioModal]);
   }, [editorKey, openDrawioModal]);
   return (
   return (
     <button type="button" className="btn btn-toolbar-button" onClick={onClickDiagramButton}>
     <button type="button" className="btn btn-toolbar-button" onClick={onClickDiagramButton}>
+      {/* TODO: https://github.com/weseek/growi/pull/8558 */}
       {/* <span className="growi-custom-icons">drawer_io</span> */}
       {/* <span className="growi-custom-icons">drawer_io</span> */}
       <span className="material-symbols-outlined fs-5">block</span>
       <span className="material-symbols-outlined fs-5">block</span>
     </button>
     </button>

+ 1 - 0
packages/editor/src/components/CodeMirrorEditor/Toolbar/TextFormatTools.tsx

@@ -69,6 +69,7 @@ export const TextFormatTools = (props: TextFormatToolsType): JSX.Element => {
             <span className="material-symbols-outlined fs-5">format_strikethrough</span>
             <span className="material-symbols-outlined fs-5">format_strikethrough</span>
           </button>
           </button>
           <button type="button" className="btn btn-toolbar-button" onClick={() => onClickInsertPrefix('#', true)}>
           <button type="button" className="btn btn-toolbar-button" onClick={() => onClickInsertPrefix('#', true)}>
+            {/* TODO: https://github.com/weseek/growi/pull/8558 */}
             {/* <span className="growi-custom-icons">header</span> */}
             {/* <span className="growi-custom-icons">header</span> */}
             <span className="material-symbols-outlined fs-5">block</span>
             <span className="material-symbols-outlined fs-5">block</span>
           </button>
           </button>