Skip to content

Commit

Permalink
Merge branch 'main' into feat-api-add-rename-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
GiteaBot authored Dec 12, 2024
2 parents 952523e + 1e751d8 commit af4e23d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_src/js/features/comp/EditorUpload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export function initTextareaEvents(textarea, dropzoneEl) {
});
textarea.addEventListener('drop', (e) => {
if (!e.dataTransfer.files.length) return;
if (!dropzoneEl) return;
handleUploadFiles(new TextareaEditor(textarea), dropzoneEl, e.dataTransfer.files, e);
});
dropzoneEl?.dropzone.on(DropzoneCustomEventRemovedFile, ({fileUuid}) => {
Expand Down

0 comments on commit af4e23d

Please sign in to comment.