Skip to content

Commit

Permalink
Pasting text in the metadata editor uploads an image to the catalogue…
Browse files Browse the repository at this point in the history
… store (#8639)

* Set the pasteZone for the fileupload directive

* Set the pasteZone for the fileupload directive to null
  • Loading branch information
tylerjmchugh authored Feb 13, 2025
1 parent b3c92e4 commit fd367f0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"/attachments?visibility=" +
(scope.visibility || "public"),
dropZone: $("#gn-upload-" + scope.id),
pasteZone: null,
// TODO: acceptFileTypes: /(\.|\/)(xml|skos|rdf)$/i,
done: uploadResourceSuccess,
fail: uploadResourceFailed,
Expand Down

0 comments on commit fd367f0

Please sign in to comment.