소스 검색

add comment

reiji-h 2 년 전
부모
커밋
195f9c7ab9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/editor/src/components/CodeMirrorEditor/CodeMirrorEditor.tsx

+ 1 - 1
packages/editor/src/components/CodeMirrorEditor/CodeMirrorEditor.tsx

@@ -70,7 +70,7 @@ export const CodeMirrorEditor = (props: Props): JSX.Element => {
         return true;
       },
       drop(event) {
-        // prevents conflicts between codemirror and react-dropzone
+        // prevents conflicts between codemirror and react-dropzone during file drops.
         event.preventDefault();
         return true;
       },