瀏覽代碼

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;
       },