From c901a250728b3d2d89e09661052b1adb75f7c59d Mon Sep 17 00:00:00 2001 From: Enrique Mingorance Cano Date: Tue, 29 Oct 2024 16:43:43 +0100 Subject: [PATCH] CodeEditor loading property considered by the Editor (#11034) --- .../react-code-editor/src/components/CodeEditor/CodeEditor.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx b/packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx index ac7fc3f5d4b..c9e73e0da74 100644 --- a/packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx +++ b/packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx @@ -504,6 +504,7 @@ class CodeEditor extends React.Component { showEditor, options: optionsProp, overrideServices, + loading, editorProps } = this.props; const shortcutsPopoverProps: PopoverProps = { @@ -652,6 +653,7 @@ class CodeEditor extends React.Component { onChange={this.onChange} onMount={this.editorDidMount} theme={isDarkTheme ? 'vs-dark' : 'vs-light'} + loading={loading} {...editorProps} />