Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 8077cec

Browse files
committed
fix(plugins/plugin-client-common): sidecar editor too-aggressively focuses
Fixes #6104
1 parent 19f758a commit 8077cec

File tree

1 file changed

+1
-1
lines changed
  • plugins/plugin-client-common/src/components/Content/Editor

1 file changed

+1
-1
lines changed

plugins/plugin-client-common/src/components/Content/Editor/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ export default class Editor extends React.PureComponent<Props, State> {
352352
return editor.getValue()
353353
}
354354

355-
if (!props.readOnly) {
355+
if (!options.readOnly) {
356356
setTimeout(() => editor.focus())
357357
}
358358

0 commit comments

Comments
 (0)