Skip to content

Commit 90205e8

Browse files
committed
PEER-234: Block editor editing while rendering
Signed-off-by: SeeuSim <[email protected]>
1 parent e09b9e4 commit 90205e8

File tree

1 file changed

+1
-0
lines changed
  • frontend/src/components/blocks/interview

1 file changed

+1
-0
lines changed

frontend/src/components/blocks/interview/editor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export const Editor = ({ room }: EditorProps) => {
119119
tabSize: language === 'python' ? 4 : 2,
120120
indentOnInput: true,
121121
}}
122+
readOnly={isLoading}
122123
extensions={extensions}
123124
/>
124125
</div>

0 commit comments

Comments
 (0)