# Feature OP-14293 - Allow custom URL schemes in CKEditor

Project: OpenProject
Status: on hold
URL: https://community.openproject.org/work_packages/OP-14293

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

Tracking issue / feature at CKEditor: <https://github.com/ckeditor/ckeditor5/issues/14304>

### (Original bug report)

### Steps to reproduce

1.  e.g. create a new comment under activities to start the editor
2.  press Ctrl\>+\<K\> or click on the link icon to open a popup for a link
3.  type in "profile://server.domain/db(profile)/Documents(12345678)"
4.  save the link and the comment
5.  after that the link is visible and clickable but will not open

### What is the buggy behavior?

We are using some custom url handlers on our windows clients to link items on web pages to a proprietary ERP software.  
E.g. we have the handler "profile" which will open the requested document in the ERP software.

If I create the link like in the steps above and show the source of openproject page I see:

``` text
<a rel="noopener noreferrer" class="op-uc-link">profile://server.domain/db(profile)/Documents(12345678)</a>
```

This link will not open by the web browser.

### What is the expected behavior?

The correct link should use the href attribut in the a-tag:

``` text
<a href="profile://server.domain/db(profile)/Documents(12345678)" rel="noopener noreferrer" class="op-uc-link">profile://server.domain/db(profile)/Documents(12345678)</a>
```

It works when I use standard url handler e.g. "<https://openproject.org>" in the link target.

### Screenshots and other files

*If you have screenshots of the application's bug behavior or other relevant files, please drag them into this place or attach them using the "Files" section.*

### Environment information

**OpenProject installation type**

- [ ] Hosted cloud edition
- [ ] Packaged installation
    - What distribution?
- [x] Docker All-in-one container
- [ ] Docker-compose installation
- [ ] Other (please specify)

**OpenProject version**

13.0.1

**Browser**

- [x] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Language**

*english, german*
