Code snippet
Drag & Drop Case Attachments – Final HTML & Liquid
Copy it with the button on the code. For the why and the walkthrough, see “Create a Drag and Drop experience to upload Case Attachments in Power Pages”.
{% include 'Portal Web API Wrapper' %}
<!-- Div to act as a container for drag and drop events as well as any existing attachments -->
<div id="drop-zone">
<p>Drag and drop files here</p>
<!-- List to hold the preview thumbnails of any attached files -->
<ul id="file-list"></ul>
</div>