How can I paste the image to the textbox and make it <img> tags

Html
Javascript

I read here first,

https://stackoverflow.com/questions/30170061/inserting-or-copy-pasting-picture-to-a-textbox

I guess you can't do this to plain textbox or textarea.

Wait, maybe OK. It said HTML can support paste events.

https://developer.mozilla.org/en-US/docs/Web/API/Element/paste_event

Published: 2021-08-29