Skip to content

Flow for editing the styles of a specific block type #27393

Closed

Description

@mtias

In the global styles context, it should be possible to go from block to editing that block's global styles properties. Maybe a first start could be adding an action to the ellipsis menu "Edit Global Styles":

image

Activity

  1. added
    Needs Design Feedback
    Global Styles
    on Dec 1, 2020
  2. jorgefilipecosta commented on Dec 3, 2020

    @jorgefilipecosta
    Member

    An additional possibility discussed in a conversation with @mtias was a design tool/ block global styles select tool

    The tool can be a top-level button on the toolbar, when we press the button we activate a block select mode. When we click on a block we automatically open the global styles panel for that block.

    This tool is implemented in addition to the system referred to on this issue.

  3. added
    Needs Design
    and removed
    Needs Design Feedback
    on May 23, 2022
  4. added
    [Feature] Site Editor
    and removed on Jul 24, 2023
  5. jasmussen commented on Aug 8, 2023

    @jasmussen
    Contributor

    This seems related to "push styles to global", and it would be good to consolidate. A use case, I'm writing a post on my brand new blog and using a Quote block for the first time, and realizing it looks poor. I might want to style it locally there, then push it to global. While this is possible with "push to global", it can be refined with a modal before/after preview. It can perhaps take inspiration from how you update components in Figma.

  6. jameskoster commented on Aug 8, 2023

    @jameskoster
    Contributor

    Since it's possible to apply a block styles globally now we might consider this issue complete.

    But that flow could use some improvements. For example:

    • Displaying a before/after preview & diff, either in a modal or the multi-entity save panel.
    • The shortcut suggested in the OP could open the global styles panel with the style book focussed on the selected block
    • Consider granularity of pushable changes in the local context. Currently you can only push all local changes, there might be an argument for a more selective experience.
  7. added
    [Type] Enhancement
    on Sep 8, 2023
  8. annezazu commented on Jun 10, 2024

    @annezazu
    Contributor

    Closing this out considering the above discussion and the fact that "Apply globally" is an option under advanced. For improving this, let's open up individual issues going forward like so #57740 and potentially consolidate with an iteration issue if we want to see something ship in a future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesNeeds Design[Feature] Site Editor[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions