Jelajahi Sumber

add onSave to props

reiji-h 2 tahun lalu
induk
melakukan
0872a81444
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      packages/editor/src/components/CodeMirrorEditorMain.tsx

+ 1 - 0
packages/editor/src/components/CodeMirrorEditorMain.tsx

@@ -60,6 +60,7 @@ export const CodeMirrorEditorMain = (props: Props): JSX.Element => {
     <CodeMirrorEditor
       editorKey={GlobalCodeMirrorEditorKey.MAIN}
       onChange={onChange}
+      onSave={onSave}
     />
   );
 };