diff --git a/src/stories/Playground/Editor/index.tsx b/src/stories/Playground/Editor/index.tsx index 72465ec5..e82389fd 100644 --- a/src/stories/Playground/Editor/index.tsx +++ b/src/stories/Playground/Editor/index.tsx @@ -63,7 +63,7 @@ export const ConfigEditor = React.forwardRef(function ConfigEditor( }); }, updateBlocks: (blocks: TBlock[]) => { - if (!monacoRef.current) { + if (!monacoRef.current || blocks.length > 1) { return; } const model = monacoRef.current.getModel();