-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
refactor context menus #2302
refactor context menus #2302
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -362,7 +362,7 @@ | |||
reactions (and reactions-enabled? | |||
(block-reaction/props->reactions properties)) | |||
menu (r/as-element | |||
[:> MenuList {:class "anchor"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The menu items need to have an .anchor
class as a parent, otherwise, multiple block selection gets cleared when trying to click one of the buttons. #2296
@@ -362,7 +362,18 @@ | |||
reactions (and reactions-enabled? | |||
(block-reaction/props->reactions properties)) | |||
menu (r/as-element | |||
[:<> | |||
[:> MenuGroup {:className ".anchor"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copying multiple block refs or text from multiple selected blocks only copies from one. Class name might need to be anchor
, not .anchor
.
Major
Minor