Support "insertFromPasteAsQuotation" inputType value
Categories
(Core :: DOM: Events, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
Input Events WG added new inputType
value, insertFromPasteAsQuotation
, for Firefox. We should support this new value.
Assignee | ||
Comment 1•6 years ago
|
||
Only Firefox has an operation to paste clipboard data as quoted text
(Control + middle button paste). Input Events Level 1 and Level 2 declared
new inputType value for this operation. Therefore, we should support it.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 3•6 years ago
|
||
bugherder |
Comment 4•6 years ago
|
||
Note to MDN team: I've added a note about this to the Fx67 rel notes: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/67#DOM_events
We need to make sure this is adequately covered, including BCD. The page currently seems a bit sparse.
Comment 5•6 years ago
|
||
I think I'm done with the documentation for this now.
I updated the page, including updating the example so that it uses a contenteditable div and therefore more input types can be observed more easily. I don't think we need to list all of the input types on the page, and can continue to just link to the spec section, which is fairly well written and understandable:
https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/inputType
I have also submitted a PR to update the compat data for inputType to add a insertFromPasteAsQuotation sub-fearture:
https://github.com/mdn/browser-compat-data/pull/4104. Question - is insertFromPasteAsQuotation only supported in Firefox?
And I've tried to push forward on this PR that I submitted a while ago to add the Level 1 spec to MDN:
https://github.com/mdn/kumascript/pull/1055.
So that's it; let me know if you think anything else needs to be changed.
Description
•