Button "Copy to clipboard" instead of "Add to description"
This allows the user to paste the code wherever they need. For example, a blog post takes its contents from 'properties.content' and not from the description field. I also added an explanation for new attachment shortcode.
This commit is contained in:
@@ -19,9 +19,9 @@
|
||||
|
||||
| {% if subfield.name.endswith('slug') %}
|
||||
button.fieldlist-action-button.js-append-attachment(
|
||||
type="button")
|
||||
type="button", data-clipboard)
|
||||
i.pi-plus
|
||||
| Append to Description
|
||||
| Copy to clipboard
|
||||
| {% endif %}
|
||||
|
||||
| {% endfor %}
|
||||
|
Reference in New Issue
Block a user