Kaynağa Gözat

add onSave to props

reiji-h 2 yıl önce
ebeveyn
işleme
0872a81444

+ 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}
     />
   );
 };