Shun Miyazawa 1 year ago
parent
commit
365b15456c

+ 1 - 0
packages/editor/src/client/components/CodeMirrorEditorReadOnly.tsx

@@ -67,6 +67,7 @@ export const CodeMirrorEditorReadOnly = ({ markdown, onScroll }: Props): JSX.Ele
       hideToolbar
       editorKey={GlobalCodeMirrorEditorKey.READONLY}
       onScroll={onScroll}
+      cmProps={{}}
     />
   );
 };