Browse Source

add onSave to props

reiji-h 2 years ago
parent
commit
0872a81444
1 changed files with 1 additions and 0 deletions
  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}
     />
   );
 };