-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Clearer controls for copying and pasting styles #47164
Comments
I agree, there are some slightly similar iterations in the original issue: #44418 |
+1 on this. The functionality is insanely useful, but it's not very clear that "Copy block" then allows you to "Paste Styles". I wonder if simply removing "block" from "Copy block" helps. We don't have "block" in the "Duplicate" label. |
@jasmussen @jameskoster Which direction are you leaning? |
I prefer the flyout for compactness, but that requires a new flyout component structure which is likely non trivial to build, so in lieu of that, grouping with a separator can work in the mean time. |
+1 for the flyout. I wonder if we could streamline a bit if we grouped by action, IE:
|
What problem does this address?
Now that we have the functionality in place for copying and pasting block styles, let's follow-up with some approaches for making the functionality more apparent. (Related: #45477 (comment))
In its current form, it is not clear that one can copy the current block's style. "Copy block" should continue to function as it does today, where it copies block and styles.
What is your proposed solution?
Here are some rough concepts based on the discussion on the original PR to get us moving.
Current:
Here's the current implementation for reference. The "Copy block" control functions as both copying the block as as whole, or styles, based on the paste follow-up action.
Suggestion 1:
Add a section within the popover, with Copy styles and Paste styles in it directly. It could go at the bottom of the popover instead.
Suggestion 2:
Add a popover interaction. If we did this, we can afford to have both copy and paste, for block (which is the entire block, as-is - including styles) or just styles.
The text was updated successfully, but these errors were encountered: