mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Clarify codeEditor options only relate to monaco
This commit is contained in:
		
							
								
								
									
										8
									
								
								packages/node_modules/node-red/settings.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								packages/node_modules/node-red/settings.js
									
									
									
									
										vendored
									
									
								
							@@ -56,7 +56,7 @@ module.exports = {
 | 
			
		||||
    // The working directory to handle relative file paths from within the File nodes
 | 
			
		||||
    //  defaults to the working directory of the Node-RED process.
 | 
			
		||||
    //fileWorkingDirectory: "",
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    // Timeout in milliseconds for inbound WebSocket connections that do not
 | 
			
		||||
    // match any configured node.
 | 
			
		||||
    //  defaults to 5000
 | 
			
		||||
@@ -345,8 +345,10 @@ module.exports = {
 | 
			
		||||
        },
 | 
			
		||||
        codeEditor: {
 | 
			
		||||
            lib: "ace", //can be "monaco" or "ace"
 | 
			
		||||
            options: { 
 | 
			
		||||
                //// theme - must match the file name of a theme in 
 | 
			
		||||
            options: {
 | 
			
		||||
                //// The follow options only apply if the editor is set to "monaco"
 | 
			
		||||
                ////
 | 
			
		||||
                //// theme - must match the file name of a theme in
 | 
			
		||||
                //// packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
 | 
			
		||||
                //// e.g. "tomorrow-night", "upstream-sunburst", "github", "my-theme"
 | 
			
		||||
                theme: "vs",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user