Allowed attachment drag via main text link

Enables easier sorting and dragging of box into content.
Related to #591
This commit is contained in:
Dan Brown 2023-05-22 20:23:19 +01:00
parent 6a7bc68b61
commit e591f4896e
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -1,4 +1,5 @@
<div component="sortable-list" option:sortable-list:handle-selector=".handle">
<div component="sortable-list"
option:sortable-list:handle-selector=".handle, a">
@foreach($attachments as $attachment)
<div component="ajax-delete-row"
option:ajax-delete-row:url="{{ url('/attachments/' . $attachment->id) }}"