Content
View differences
Updated by Henriette Darge over 2 years ago
In [https://github.com/opf/openproject/pull/13866](https://github.com/opf/openproject/pull/13866) a Clipboard component was introdcued to add a clipBoardCopy Button next to an input field. This should be extracted into the Primer Repository as an `InputGroup` (name taken from Github)
Example html:
```html
<div class="input-group">
<input class="form-control input-sm color-bg-subtle">
<div class="input-group-button">
<clipboard-copy>
...
</clipboard-copy>
</div>
</div>
```
Result:
<img class="op-uc-image op-uc-image_inline" style="width:387px;" src="/api/v3/attachments/74992/content"> added in https://github.com/opf/openproject/pull/13866
Example html:
```html
<div class="input-group">
<input class="form-control input-sm color-bg-subtle">
<div class="input-group-button">
<clipboard-copy>
...
</clipboard-copy>
</div>
</div>
```
Result:
<img class="op-uc-image op-uc-image_inline" style="width:387px;" src="/api/v3/attachments/74992/content">