Skip to content

Commit

Permalink
Playground block: Stop making readonly code actually readonly in edit…
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpayton authored Jul 30, 2024
1 parent 003e2d7 commit a074b7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ export default function PlaygroundPreview({
),
]}
readOnly={
codeEditorReadOnly ||
(codeEditorReadOnly && !inBlockEditor) ||
isErrorLogFile(files[activeFileIndex])
}
onChange={(value) =>
Expand Down

0 comments on commit a074b7a

Please sign in to comment.