-
Notifications
You must be signed in to change notification settings - Fork 209
execCommand() feature #2641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
execCommand() feature #2641
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8550606
execCommand() feature
captainbrosset e87d16b
add execCommand spec
captainbrosset 8dd780b
Better description
captainbrosset 316c69c
Minor change to the description
captainbrosset 3158913
Merge branch 'main' into execcommand
captainbrosset File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| name: execCommand() | ||
| description: The `execCommand()` method accesses the clipboard and performs editing commands on the document, while multiple `queryCommand*()` methods report whether commands are enabled, supported, or applied. | ||
| spec: https://w3c.github.io/editing/docs/execCommand/ | ||
| group: clipboard | ||
| discouraged: | ||
| according_to: | ||
| - https://w3c.github.io/editing/docs/execCommand/ | ||
| alternatives: | ||
| - async-clipboard | ||
| - contenteditable | ||
| compat_features: | ||
| - api.Document.execCommand | ||
| - api.Document.execCommand.copy | ||
| - api.Document.execCommand.cut | ||
| - api.Document.execCommand.defaultParagraphSeparator | ||
| - api.Document.execCommand.insertBrOnReturn | ||
| - api.Document.queryCommandEnabled | ||
| - api.Document.queryCommandIndeterm | ||
| - api.Document.queryCommandState | ||
| - api.Document.queryCommandSupported | ||
| - api.Document.queryCommandValue | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| # Generated from: execcommand.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| firefox: "69" | ||
| firefox_android: "79" | ||
| compat_features: | ||
| # baseline: false | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "69" | ||
| # firefox_android: "79" | ||
| # safari: "1.3" | ||
| # safari_ios: "1" | ||
| - api.Document.execCommand | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "69" | ||
| # firefox_android: "79" | ||
| # safari: "2" | ||
| # safari_ios: "1" | ||
| - api.Document.queryCommandEnabled | ||
| - api.Document.queryCommandIndeterm | ||
| - api.Document.queryCommandState | ||
| - api.Document.queryCommandSupported | ||
| - api.Document.queryCommandValue | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # chrome: "42" | ||
| # chrome_android: "42" | ||
| # edge: "12" | ||
| # firefox: "69" | ||
| # firefox_android: "79" | ||
| # safari: "10" | ||
| # safari_ios: "10" | ||
| - api.Document.execCommand.copy | ||
| - api.Document.execCommand.cut | ||
|
|
||
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: false | ||
| # support: | ||
| # firefox: "69" | ||
| # firefox_android: "79" | ||
| - api.Document.execCommand.defaultParagraphSeparator | ||
| - api.Document.execCommand.insertBrOnReturn |
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
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.
Uh oh!
There was an error while loading. Please reload this page.