Skip to content

Commit

Permalink
CodeEditor loading property considered by the Editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginxo committed Oct 24, 2024
1 parent fc479a4 commit c20ddeb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ class CodeEditor extends React.Component<CodeEditorProps, CodeEditorState> {
showEditor,
options: optionsProp,
overrideServices,
loading,
editorProps
} = this.props;
const shortcutsPopoverProps: PopoverProps = {
Expand Down Expand Up @@ -647,6 +648,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 c20ddeb

Please sign in to comment.