fix: disable code folding when editable regions present (#45525)
This commit is contained in:
@ -1084,7 +1084,7 @@ const Editor = (props: EditorProps): JSX.Element => {
|
|||||||
editorDidMount={editorDidMount}
|
editorDidMount={editorDidMount}
|
||||||
editorWillMount={editorWillMount}
|
editorWillMount={editorWillMount}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
options={options}
|
options={{ ...options, folding: !hasEditableRegion() }}
|
||||||
theme={editorTheme}
|
theme={editorTheme}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
|
Reference in New Issue
Block a user