]> source.dussan.org Git - gitea.git/commit
Remove jQuery from the image pasting functionality (#29324)
authorYarden Shoham <git@yardenshoham.com>
Thu, 22 Feb 2024 16:35:58 +0000 (18:35 +0200)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2024 16:35:58 +0000 (17:35 +0100)
commitf390d5eb4f4db21eeacdf2e7a093f6bd4e87c96f
tree1c942d033af459b33f8ea52dfe4c6e16bb718338
parenta4fe1cdf38f9a063e44b197ef07e4260f731c919
Remove jQuery from the image pasting functionality (#29324)

- Switched to plain JavaScript
- Tested the image pasting functionality and it works as before

# Demo using JavaScript without jQuery

![demo](https://github.com/go-gitea/gitea/assets/20454870/018993ff-7b09-4d5f-88e0-f276368bacd6)

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
web_src/js/features/comp/ImagePaste.js