Skip to content

Commit

Permalink
CodeEditor loading property considered by the Editor (#11034)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginxo authored Oct 29, 2024
1 parent e2d9e39 commit c901a25
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ class CodeEditor extends React.Component<CodeEditorProps, CodeEditorState> {
showEditor,
options: optionsProp,
overrideServices,
loading,
editorProps
} = this.props;
const shortcutsPopoverProps: PopoverProps = {
Expand Down Expand Up @@ -652,6 +653,7 @@ class CodeEditor extends React.Component<CodeEditorProps, CodeEditorState> {
onChange={this.onChange}
onMount={this.editorDidMount}
theme={isDarkTheme ? 'vs-dark' : 'vs-light'}
loading={loading}
{...editorProps}
/>
</div>
Expand Down

0 comments on commit c901a25

Please sign in to comment.