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