saved_snippets: Add support for editing saved snippets.

Fixes #33708.
This commit is contained in:
Vector73
2025-03-13 10:03:41 +00:00
committed by Tim Abbott
parent 224a3eed87
commit b31024be47
24 changed files with 405 additions and 22 deletions

View File

@@ -5,6 +5,9 @@
<span class="dropdown-list-item-name">
{{#if bold_current_selection}}
<span class="dropdown-list-bold-selected">{{name}}</span>
{{#if has_edit_icon}}
{{> components/icon_button custom_classes="dropdown-list-edit" intent="brand" icon="edit" aria-label=(t "Edit snippet") }}
{{/if}}
{{#if has_delete_icon}}
{{> components/icon_button custom_classes="dropdown-list-delete" intent="danger" icon="trash" aria-label=(t "Delete snippet") }}
{{/if}}