Content
View differences
Updated by Aleix Suau over 5 years ago
### **Environment**:
Your OpenProject Version: 11.1
### **Steps to reproduce:**
1. Create a wiki page
2. Insert the following content directly via db or rails console:
```text
User link: <span class="mention" data-type="">user#89</span>
```
Then try to edit the wiki page.
### **Actual Behavior**
The content of the wiki page is not visible when editing
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20204/content"></div></figure>
### **Expected Behavior**
The content of the wiki page should be visible when editing.
###
Development Notes
* How to detect the type group of an old mention
* The old mentions would still appear with the id (#12, @12) not with the name
* Group mention are turned into an span, not a div
Your OpenProject Version: 11.1
### **Steps to reproduce:**
1. Create a wiki page
2. Insert the following content directly via db or rails console:
```text
User link: <span class="mention" data-type="">user#89</span>
```
Then try to edit the wiki page.
### **Actual Behavior**
The content of the wiki page is not visible when editing
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20204/content"></div></figure>
### **Expected Behavior**
The content of the wiki page should be visible when editing.
###
* How to detect the type group of an old mention
* The old mentions would still appear with the id (#12, @12) not with the name
* Group mention are turned into an span, not a div