mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	feat(editor): update allowedProtocols
This commit is contained in:
		
							parent
							
								
									6d72149da7
								
							
						
					
					
						commit
						f80a17ebc1
					
				@ -238,7 +238,12 @@ export const COMMON_SETTINGS = {
 | 
			
		||||
	},
 | 
			
		||||
	link: {
 | 
			
		||||
		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.
 | 
			
		||||
	language: 'en'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user