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: select only the current block when open its context-menu #8863

Merged
merged 4 commits into from Mar 23, 2023

Conversation

tiensonqin
Copy link
Contributor

@tiensonqin tiensonqin commented Mar 21, 2023

This PR will select the current block only when the context menu for this specific block has been opened.
It also disables the global shortcuts to prevent any further operations on selected blocks.

Before:
https://www.loom.com/share/2fa708a32c284ae5948083efd99ae7b1

After:
https://www.loom.com/share/0b4dd4be985a46ae91f3760b3ea28445

@github-actions github-actions bot added the :type/enhancement Enhancement to product. Does not affect the overall basic use. label Mar 21, 2023
@tiensonqin tiensonqin marked this pull request as ready for review March 21, 2023 09:10
@tiensonqin tiensonqin force-pushed the enhance/select-one-block-context-menu branch from 6d576c3 to 1903868 Compare March 21, 2023 09:20
@tiensonqin tiensonqin force-pushed the enhance/select-one-block-context-menu branch from 1903868 to e7bf6cd Compare March 23, 2023 05:02
@tiensonqin tiensonqin merged commit 69bd4e9 into master Mar 23, 2023
6 checks passed
@tiensonqin tiensonqin deleted the enhance/select-one-block-context-menu branch March 23, 2023 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:type/enhancement Enhancement to product. Does not affect the overall basic use.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants