Support "insertFromPasteAsQuotation" inputType value

RESOLVED FIXED in Firefox 67

Status

()

enhancement
P2
normal
RESOLVED FIXED
4 months ago
Last month

People

(Reporter: masayuki, Assigned: masayuki)

Tracking

({dev-doc-complete})

65 Branch
mozilla67
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox67 fixed)

Details

Attachments

(1 attachment)

Input Events WG added new inputType value, insertFromPasteAsQuotation, for Firefox. We should support this new value.

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.

Priority: -- → P2

Comment 2

4 months ago
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/577a1e61f6d3
Support "insertFromPasteAsQuotation" inputType value r=smaug

Comment 3

4 months ago
bugherder
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Depends on: 1533452

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.

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.

You need to log in before you can comment on or make changes to this bug.