feat(editor): update allowedProtocols

This commit is contained in:
Elian Doran 2024-12-06 20:59:08 +02:00
parent 6d72149da7
commit f80a17ebc1

View File

@ -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'