diff --git a/src/trix/views/attachment_view.js b/src/trix/views/attachment_view.js index 17a9cef8c..41e3d7fe0 100644 --- a/src/trix/views/attachment_view.js +++ b/src/trix/views/attachment_view.js @@ -25,6 +25,7 @@ export default class AttachmentView extends ObjectView { className: this.getClassName(), data: this.getData(), editable: false, + draggable: true, }) const href = this.getHref() diff --git a/src/trix/views/previewable_attachment_view.js b/src/trix/views/previewable_attachment_view.js index e6585277b..e87c17dcc 100644 --- a/src/trix/views/previewable_attachment_view.js +++ b/src/trix/views/previewable_attachment_view.js @@ -18,6 +18,7 @@ export default class PreviewableAttachmentView extends AttachmentView { data: { trixMutable: true, }, + draggable: false, }) this.refresh(this.image)