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