mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
🐛 Fix monaco editor resize as suggested in #2800
This commit is contained in:
parent
5528698c31
commit
3e92fae954
|
@ -88,6 +88,7 @@ export default mixins(
|
|||
if (!this.$refs.code) return;
|
||||
|
||||
this.monacoInstance = monaco.editor.create(this.$refs.code as HTMLElement, {
|
||||
automaticLayout: true,
|
||||
value: this.value,
|
||||
language: this.type === 'code' ? 'javascript' : 'json',
|
||||
tabSize: 2,
|
||||
|
|
Loading…
Reference in a new issue