Monaco Editor for React - use the monaco-editor in any React application without needing to use webpack (or rollup/parcel/etc) configuration files / plugins
Describe the bug
default language is 'json' when I set value and 'html' to language in Editor then I format code is not work,but second time is worked!
Describe the bug default language is 'json' when I set value and 'html' to language in Editor then I format code is not work,but second time is worked!
To Reproduce
Steps to reproduce the behavior:
1、set defaultLanguage={'json'}
2、click format button is not work
3、when I click secode time is work!
Expected behavior fisrt time to format code is work!
Screenshots
Desktop (please complete the following information):