Comments (3)
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.
from input-events.
@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.
from input-events.
I believe all questions abotu thsi were resolved at the meeting. Please reopen if incorrect.
from input-events.
Related Issues (20)
- Define "affected ranges" clearer at `InputEvent.getTargetRanges()` definition HOT 13
- Define result of `getTargetRanges()` of `input`
- Define what should return `getTargetRanges()` of `beforeinput` after propagation
- Make "Input Events Level 1" declare "beforeinput cancelable" of "insertCompositionText" as "Undefined" HOT 27
- [feature request] Standardize long press touch event HOT 1
- InputType to insert image from software keyboard HOT 9
- Encourage browsers to include files in `beforeinput` DataTransfer event HOT 2
- Request: a way to get and react to target ranges for all changes HOT 6
- Add spec-prod GitHub Actions HOT 4
- Bug on Android Web. Input Value duplicates when typing too fast between input fields.
- Use new `[=xref=]` syntax for DND terms HOT 1
- Move to Jitsi for meetings? HOT 1
- inputType not specified for the input type="number" 'step up/down' event
- Gather informations on content replaced by insertReplacementText or trigger a deleteByReplacement event?
- Should the last beforeinput to occur before compositionend be cancellable? HOT 11
- Order and cancelation behavior of events in composition disagrees with UI Events
- InputEvent fired twice when inserted emoji HOT 5
- What is the intended/recommended approach to hijack composition events? HOT 2
- inputType on safari mobile is undefined HOT 2
- Proposal: better encapsulation of composition events HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from input-events.