replace monaco-editor with simple textarea as example in Dockerfile and Docker-Compose syntax
This commit is contained in:
		@@ -246,7 +246,7 @@
 | 
			
		||||
            @endif
 | 
			
		||||
 | 
			
		||||
            @if ($application->dockerfile)
 | 
			
		||||
                <x-forms.textarea label="Dockerfile" id="application.dockerfile" rows="6"> </x-forms.textarea>
 | 
			
		||||
                <x-forms.textarea label="Dockerfile" id="application.dockerfile" monacoEditorLanguage="dockerfile" useMonacoEditor="{{true}}" rows="6"> </x-forms.textarea>
 | 
			
		||||
            @endif
 | 
			
		||||
            @if ($application->build_pack !== 'dockercompose')
 | 
			
		||||
                <h3 class="pt-8">Network</h3>
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@
 | 
			
		||||
            <h2>Docker Compose</h2>
 | 
			
		||||
            <x-forms.button type="submit">Save</x-forms.button>
 | 
			
		||||
        </div>
 | 
			
		||||
        <x-forms.textarea label="Docker Compose file" rows="20" id="dockerComposeRaw"
 | 
			
		||||
        <x-forms.textarea useMonacoEditor="{{true}}" monacoEditorLanguage="yaml" label="Docker Compose file" rows="20" id="dockerComposeRaw"
 | 
			
		||||
            placeholder='services:
 | 
			
		||||
  ghost:
 | 
			
		||||
    documentation: https://ghost.org/docs/config
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user