Content
Updated by Oliver Günther 11 days ago
**As** a User/Admin/everybody
**I want to** use the link to local URLs, application URLs, other other non-http(s) URLs that the browser supports
**so that** we can use it with existing DMS, and other local applications
**Examples:**
* Application URL schemes:
* vis://FE0E3D1D-9DC5-4931-BF6C-9E01216047A4/3/8326584
* dict://term lookup
* vscode://file/path/to/file
* • figma://
* element://vector/webapp/#/room/!ID
* tel://number
* sms://number
* facetime://number
<br>
**Acceptance criteria**
* Add a new setting "Allowed link protocols" under the System settings > General (I'm not aware of a better place)
* Text area input, one protocol per line, similar to the attachment whitelist
* Description: "Allow these protocols to be used in links input through the WYSIWYG editor.".
* When not empty, use this allowlist when:
* Rendering markdown in the backend
* Loading CKEditor, so that it uses that allowlist for new links
<br>
**Out of scope**
* Provide working links to `file://` local links, which all modern browsers block. The configuration will allow to whitelist them, but will be able to provide a working link
**I want to** use the link to local URLs, application URLs, other other non-http(s) URLs that the browser supports
**so that** we can use it with existing DMS, and other local applications
**Examples:**
* Application URL schemes:
* vis://FE0E3D1D-9DC5-4931-BF6C-9E01216047A4/3/8326584
* dict://term lookup
* vscode://file/path/to/file
* • figma://
* element://vector/webapp/#/room/!ID
* tel://number
* sms://number
* facetime://number
<br>
**Acceptance criteria**
* Add a new setting "Allowed link protocols" under the System settings > General (I'm not aware of a better place)
* Text area input, one protocol per line, similar to the attachment whitelist
* Description: "Allow these protocols to be used in links input through the WYSIWYG editor.".
* When not empty, use this allowlist when:
* Rendering markdown in the backend
* Loading CKEditor, so that it uses that allowlist for new links
<br>
**Out of scope**
* Provide working links to `file://` local links, which all modern browsers block. The configuration will allow to whitelist them, but will be able to provide a working link