Skip to content
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

feat(keyboard): support simple copy-pasting using meta+c/v #10828

Merged
merged 3 commits into from
Feb 28, 2022

Conversation

Andarist
Copy link
Contributor

@Andarist Andarist commented Dec 9, 2021

It's a straightforward change to support new, common, keyboard commands

Note that I've tested this locally with Chrome on my Mac but it seems that CI doesn't want to pass Chrome tests - it's running on ubuntu though. Does this mean that I should introduce per-platform editing commands? At the moment there is only a single macEditingCommands file.

Fixes #12000

@yury-s
Copy link
Member

yury-s commented Feb 2, 2022

CI doesn't want to pass Chrome tests - it's running on ubuntu though. Does this mean that I should introduce per-platform editing commands?

The keystrokes are macOS-specific, you just need to skip the test on other platforms, see this test for example.

@Andarist
Copy link
Contributor Author

Andarist commented Feb 2, 2022

@yury-s I've applied the suggested change. One test suite is failing but it seems unrelated to this PR.

q: is there no support for non-mac editing commands at all? can those kinds of tests be only written for Macs at the moment?

@aslushnikov aslushnikov merged commit eaa98ce into microsoft:main Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Copy content with Meta+A and Meta+C
3 participants