Closed smaug---- closed 7 years ago
Yes in the table here https://w3c.github.io/input-events/#h-overview I guess we should only have dataTransfer
for 'insertFromPaste'
and 'insertFromDrop'
.
'insertNonText'
will be renamed to 'insertReplacementText'
, and 'insertFromYank'
will only insert plain text.
@choniong insertReplacementText can paste things with HTML markup. Things like 1<sup>a</sup>
. The same should be true for yank. That's why they use dataTransfer rather than data.
I believe all questions abotu thsi were resolved at the meeting. Please reopen if incorrect.
It mostly feels wrong. It should be dnd and clipboard events. No need to have it elsewhere.