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

fix: editor freeze when cut and paste blocks at the bottom #5014

Merged
merged 3 commits into from Apr 21, 2022

Conversation

tiensonqin
Copy link
Contributor

No description provided.


await block.waitForSelectedBlocks(3)

await page.keyboard.press('Meta+x')
Copy link
Collaborator

@andelf andelf Apr 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should use IsMac to select from Meta+x or Ctrl+x

Clipboard testing is not possible in playwright


await page.keyboard.press('Meta+x')

await page.keyboard.press('Meta+v')
Copy link
Collaborator

@andelf andelf Apr 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should press twice to check against 9 blocks. (really did a paste)

Copy link
Collaborator

@andelf andelf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

For now, clipboard testing is not possible in Playwright.

@tiensonqin tiensonqin merged commit a87e5ea into master Apr 21, 2022
@tiensonqin tiensonqin deleted the fix/copy-paste branch April 21, 2022 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants