]> BookStack Code Mirror - bookstack/blobdiff - resources/views/attachments/manager-list.blade.php
Attachments: Drag and drop video support
[bookstack] / resources / views / attachments / manager-list.blade.php
index 342b46dcad72609732bf51966f899d66e1c81bce..0e841a042f7ef6cd0ed0b08b2edeba79c96e0f50 100644 (file)
@@ -4,7 +4,7 @@
         <div component="ajax-delete-row"
              option:ajax-delete-row:url="{{ url('/attachments/' . $attachment->id) }}"
              data-id="{{ $attachment->id }}"
-             data-drag-content="{{ json_encode(['text/html' => $attachment->htmlLink(), 'text/plain' => $attachment->markdownLink()]) }}"
+             data-drag-content="{{ json_encode($attachment->editorContent()) }}"
              class="card drag-card">
             <div class="handle">@icon('grip')</div>
             <div class="py-s">