From c20ddeb5b8b2f149f3067332ba035cfc942a5460 Mon Sep 17 00:00:00 2001 From: Enrique Mingorance Cano Date: Thu, 24 Oct 2024 12:17:09 +0200 Subject: [PATCH] CodeEditor loading property considered by the Editor --- .../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 dad463431dd..5c1a11a7759 100644 --- a/packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx +++ b/packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx @@ -502,6 +502,7 @@ class CodeEditor extends React.Component { showEditor, options: optionsProp, overrideServices, + loading, editorProps } = this.props; const shortcutsPopoverProps: PopoverProps = { @@ -647,6 +648,7 @@ class CodeEditor extends React.Component { onChange={this.onChange} onMount={this.editorDidMount} theme={isDarkTheme ? 'vs-dark' : 'vs-light'} + loading={loading} {...editorProps} />