Closed Bug 1532527 Opened 5 years ago Closed 5 years ago

Support "insertFromPasteAsQuotation" inputType value

Categories

(Core :: DOM: Events, enhancement, P2)

65 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla67
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.

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
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/577a1e61f6d3
Support "insertFromPasteAsQuotation" inputType value r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 years 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.

Attachment

General

Created:
Updated:
Size: