Content
View differences
Updated by Kabiru Mwenja 9 days ago
Context: [https://www.openproject.org/docs/user-guide/wysiwyg/#available-attributes-for-work-packages](https://www.openproject.org/docs/user-guide/wysiwyg/#available-attributes-for-work-packages)
CkEditor currently supports single value macro `workPackageValue:1234:version`
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Version</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">workPackageValue:1234:version</code></p></td></tr></tbody></table></figure>
[And version by ID or name](https://www.openproject.org/docs/user-guide/wysiwyg/#links-to-openproject-resources)
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Version by ID or name</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">version#3</code>, <code class="op-uc-code">version:"Release 1.0.0"</code></p></td></tr></tbody></table></figure>
These need to be adapted to support multi-value target versions.
**OPEN POINT**: How should target versions be rendered within CkEditor macros?
CkEditor currently supports single value macro `workPackageValue:1234:version`
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Version</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">workPackageValue:1234:version</code></p></td></tr></tbody></table></figure>
[And version by ID or name](https://www.openproject.org/docs/user-guide/wysiwyg/#links-to-openproject-resources)
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Version by ID or name</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">version#3</code>, <code class="op-uc-code">version:"Release 1.0.0"</code></p></td></tr></tbody></table></figure>
These need to be adapted to support multi-value target versions.
**OPEN POINT**: How should target versions be rendered within CkEditor macros?