mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	feat(editor): update allowedProtocols
This commit is contained in:
		
							parent
							
								
									6d72149da7
								
							
						
					
					
						commit
						f80a17ebc1
					
				@ -238,7 +238,12 @@ export const COMMON_SETTINGS = {
 | 
				
			|||||||
	},
 | 
						},
 | 
				
			||||||
	link: {
 | 
						link: {
 | 
				
			||||||
		defaultProtocol: 'https://',
 | 
							defaultProtocol: 'https://',
 | 
				
			||||||
		allowedProtocols: ['https?', 'tel', 'sms', 'sftp', 'smb', 'slack', 'file', 'zotero']
 | 
							allowedProtocols: [
 | 
				
			||||||
 | 
								'http', 'https', 'ftp', 'ftps', 'mailto', 'data', 'evernote', 'file', 'facetime', 'gemini', 'git',
 | 
				
			||||||
 | 
								'gopher', 'imap', 'irc', 'irc6', 'jabber', 'jar', 'lastfm', 'ldap', 'ldaps', 'magnet', 'message',
 | 
				
			||||||
 | 
								'mumble', 'nfs', 'onenote', 'pop', 'rmi', 's3', 'sftp', 'skype', 'sms', 'spotify', 'steam', 'svn', 'udp',
 | 
				
			||||||
 | 
								'view-source', 'vlc', 'vnc', 'ws', 'wss', 'xmpp', 'jdbc', 'slack', 'tel', 'smb', 'zotero'
 | 
				
			||||||
 | 
					  		]
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	// This value must be kept in sync with the language defined in webpack.config.js.
 | 
						// This value must be kept in sync with the language defined in webpack.config.js.
 | 
				
			||||||
	language: 'en'
 | 
						language: 'en'
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user