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} />