# Epic OP-6891 - Show content of wiki macros in edit mode

Project: OpenProject
Status: in specification
URL: https://community.openproject.org/work_packages/OP-6891

## Detailed specification

### Motivation and background information

### Acceptance criteria

### Out of scope

| Attribute | Value |
| --- | --- |
| Mockups |  |

## Planning

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

## Subitems

| ID | Type | Subject | Status | Assignee | Target versions | Project | Priority | Spent time |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| OP-6844 | Feature | @ mention should show user name in the editor | closed | OP Dev All | 11.1.0 | OpenProject | Medium |  |
| OP-6470 | Feature | Consolidate show and edit mode for work package description | in specification |  | Wish List | OpenProject | High |  |

## Bugs and other work packages

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Enterprise plan |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Niels Lindenthal |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Designer |  |
| Developers |  |
| Requested by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |

## Description

**As a** project member

**I want to** see the content of the macros in the text editor in the show mode

**So that** creating combined content is much easier for me.

**Overview of macros**

<figure class="table"><table>
<thead><tr>
<th>Macro</th>
<th>Macro already exist</th>
<th>API endpoints exist</th>
<th>Stage 1: work package description</th>
</tr></thead>
<tbody>
<tr>
<td>Create work package button</td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td></td>
</tr>
<tr>
<td>Code block</td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
</tr>
<tr>
<td>Table of content</td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled><span class="todo-list__label__description"></span></label></li></ul></td>
<td></td>
</tr>
<tr>
<td>Child pages</td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled><span class="todo-list__label__description"></span></label></li></ul></td>
<td></td>
</tr>
<tr>
<td>Links to wiki pages</td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
</tr>
<tr>
<td>Embedded work packages table</td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td></td>
</tr>
<tr>
<td>Attribute placeholder</td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled><span class="todo-list__label__description"></span></label></li></ul></td>
<td></td>
</tr>
<tr>
<td>User @mention<br>(<span class="mention" data-type="work_package"><mention class="mention" data-id="32645" data-type="work_package" data-text="#32645">#32645</mention></span> )</td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
<td><ul class="todo-list"><li><label class="todo-list__label"><input type="checkbox" disabled checked><span class="todo-list__label__description"></span></label></li></ul></td>
</tr>
</tbody>
</table></figure>
