Content
View differences
Updated by Max Mutzge about 5 years ago
###
### **Environment**:
Your OpenProject Version: 11.2.2
Operating System / Browser / OpenProject language: Windows 10 / Chrome / English
### **Steps to reproduce:**
1. Edit wiki page and include the macro "Links to child pages"
2. Edit the settings of the macro and activate "Include Parent"
3. Mark and copy the text including the macro marco with CTRL+C
4. Paste with CTRL+V in the same wiki page
### **Expected **Actual Behavior**
Settings of the macro are copied.
### **Actual **Expected Behavior**
The "Include Parent" setting is lost.
Here a screenshot after including above he original macro:
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21083/content"></div></figure>
In the markup the value of `data-include-parent` is empty:
```text
# Wiki
<macro class="child_pages op-uc-placeholder op-uc-child-pages" data-page="wiki" data-include-parent="">
</macro>
# Wiki
<macro class="child_pages op-uc-placeholder op-uc-child-pages" data-page="wiki" data-include-parent="true">
</macro>
```
### **Environment**:
Your OpenProject Version: 11.2.2
Operating System / Browser / OpenProject language: Windows 10 / Chrome / English
### **Steps to reproduce:**
1. Edit wiki page and include the macro "Links to child pages"
2. Edit the settings of the macro and activate "Include Parent"
3. Mark and copy the text including the macro
4. Paste with CTRL+V in the same wiki page
### **Expected
Settings of the macro are copied.
### **Actual
The "Include Parent" setting is lost.
Here a screenshot after including above he original macro:
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21083/content"></div></figure>
In the markup the value of `data-include-parent` is empty:
```text
# Wiki
<macro class="child_pages op-uc-placeholder op-uc-child-pages" data-page="wiki" data-include-parent="">
</macro>
# Wiki
<macro class="child_pages op-uc-placeholder op-uc-child-pages" data-page="wiki" data-include-parent="true">
</macro>
```