monaco-react
monaco-react copied to clipboard
placeholder is not working.
Describe the bug placeholder is not working.
Am I missing some configuration?
To Reproduce
- config
placeholder - clean editor value.
Expected behavior show placeholder when value is empty.
[Screenshots
https://monaco-react.surenatoyan.com/
it's works in the playground
I guess they released that option in a newer version and the https://monaco-react.surenatoyan.com/ website uses an older version of Monaco
Yes, after i install "monaco-editor": "^0.52.2", it works.
then i config:
import * as monaco from 'monaco-editor';
import loader from "@monaco-editor/loader";
loader.config({ monaco });
this issue come out
https://github.com/suren-atoyan/monaco-react/issues/652
This issue has been marked as stale due to inactivity. It will be closed in 7 days unless further activity occurs.
Closing due to inactivity. Feel free to reopen if needed.