FF148 Document.execCommand with paste supported in content#28953
Open
hamishwillee wants to merge 5 commits intomdn:mainfrom
Open
FF148 Document.execCommand with paste supported in content#28953hamishwillee wants to merge 5 commits intomdn:mainfrom
hamishwillee wants to merge 5 commits intomdn:mainfrom
Conversation
Contributor
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
hamishwillee
commented
Feb 2, 2026
hamishwillee
commented
Feb 2, 2026
hamishwillee
commented
Feb 2, 2026
8 tasks
hamishwillee
commented
Feb 3, 2026
hamishwillee
commented
Feb 3, 2026
hamishwillee
commented
Feb 3, 2026
hamishwillee
commented
Feb 3, 2026
api/Document.json
Outdated
| ], | ||
| "support": { | ||
| "chrome": { | ||
| "version_added": "42" |
Contributor
Author
There was a problem hiding this comment.
Base values here are copied from the copy operation, which is same versions set as we're seeing for most of these kinds of operations (i.e. it is a reasonable assumption that support for paste in extensions (only) was added in this version.
Updated version numbers and notes for the 'paste' command in various browsers.
66fee14 to
ea78fd6
Compare
caugner
reviewed
Feb 6, 2026
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Contributor
Author
|
Thanks @caugner - I accepted your changes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FF148 Supports using Document.execCommand with option "paste" in web content in https://bugzilla.mozilla.org/show_bug.cgi?id=1998195#c18
Previously this would only work on extensions. The change is a reimplementation of the feature using the Clipboard API, so shares the same behaviour as added in #28587.
The feature is non-standard but in its "kind of" standard, paste is only supported in extensions. So what we're doing is adding non-standard behaviour to some browsers. What I have done is added an entry for paste that matches
copyand similar in versions, then added version notes for this additional "non-standard" implementation.Related docs work can be tracked in mdn/content#42747