Skip to content

Align page edit features in Site Editor and Post Editor #52632

Closed

Description

@jameskoster

There are a number of smaller edit actions that are available in the post editor, but not the site editor. The mis-alignment means users sometimes need to hop between editors, which can be frustrating.

In addition to the Page Inspector, we should consider the new details panel, and the Command Palette when working out the placement for these items.

Activity

  1. added
    [Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.
    [Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")
    on Jul 14, 2023
  2. moved this to Punted to 6.5 in WordPress 6.4 Editor Taskson Sep 15, 2023
  3. youknowriad commented on Nov 8, 2023

    @youknowriad
    Contributor

    Hello folks, so I've been thinking a little bit about it and shared some comments here #55844 (comment)

    I think we've been going about this in the wrong way. We're duplicating more and more components while we could unify both post editor and site editor to use the same code and share components through the existing @wordpress/editor package and ultimately just use the exact same "editor" entirely.

    I'm going to start working on some of this and my plan is the following:

    • Use the EditorProvider in the site editor (to set the correct postType/postId...)
    • Move the UI components one by one from the site editor to the @wordpress/editor package. (which might allow us to remove duplicated components)
    • Move the shell of the editor (probably the most complex task) as it requires thinking about extensibilty/preferences...
    • Final step: Once all UI components have moved, remove the duplicated state from the site-editor and store and proxy the selectors/actions.
  4. jameskoster commented on Nov 8, 2023

    @jameskoster
    ContributorAuthor

    Should we close this issue and work on refining the document inspector design in the post editor instead?

  5. youknowriad commented on Nov 8, 2023

    @youknowriad
    Contributor

    I think we should keep this open, we can use it to track that work. IT's going to be a bit of a ride but let's see how it goes. We can consider this one some kind of overview for this unification.

  6. youknowriad commented on Nov 21, 2023

    @youknowriad
    Contributor

    What about the other way around:

    • The different "template" modes are different between the post and site editor, should we have the exact same way to show pages, lock them, switch to template... in the post editor as well ?
  7. 22 remaining items

  8. moved this from 📥 Todo to 🏗️ In Progress in WordPress 6.5 Editor Taskson Jan 5, 2024
  9. t-hamano commented on Jan 9, 2024

    @t-hamano
    Contributor

    Can this issue also be applied to the Widget Editor and Customize Widget editor? I submitted #57660 to unify DocumentTools components.

  10. fabiankaegy commented on Jan 20, 2024

    @fabiankaegy
    Member

    Hey all 👋

    I just tested the "Preview template" option the the post editor and freaking love it!!! This is such a valuable addition that is making editing content so much nicer. Thank for for adding it.

    Something I would love to add is a setting in either the editor preference, or in some global config where I could change the default to always show the preview by default.

    Currently, my workflow here is that every time I am opening a post I need to click the option again because I always want to use this mode. Ideally I would love it if the editor could remember my preference.

    Edit: I also added a new issue for this: #58038


    Another thing I notices is that I am only able to select which template I want to use if I am an Administrator. Any other user roles is not able to switch between the available templates. (This is a regression and I created #58037 for it). Additionally I would like to also be able to preview the template if I am not an administrator.

    CleanShot 2024-01-20 at 14 00 15@2x

    Ideally, the template preview would be especially useful for lower user roles such as authors & editors so that they can see what their page is going to look like.

  11. youknowriad commented on Jan 20, 2024

    @youknowriad
    Contributor

    @fabiankaegy Great idea, I always thought that this should be a CPT config. Would you mind creating a dedicated issue for it

  12. fabiankaegy commented on Feb 12, 2024

    @fabiankaegy
    Member

    Now that we are past the Beta 1 cut off point I'm removing this tracking issue from the 6.5 Project board. From now on the board should only contain individual bugs that we want to still fix before 6.5 gets released.

  13. richtabor commented on Apr 24, 2024

    @richtabor
    Member

    Make pages trash-able in the full screen editor.

    Is the idea to have the red "Move to trash" button on both?

    Site editor:
    CleanShot 2024-04-24 at 17 14 53

    Post editor:
    CleanShot 2024-04-24 at 17 15 47

  14. youknowriad commented on Apr 24, 2024

    @youknowriad
    Contributor

    The idea for me is to have the same thing, what's that "thing" is up to you and the rest of the designers :P

  15. jameskoster commented on Apr 25, 2024

    @jameskoster
    ContributorAuthor

    The big red button in the post editor is perhaps a bit too prominent. It will likely be removed in favor of the menu item as a part of #59689.

  16. youknowriad commented on Jun 6, 2024

    @youknowriad
    Contributor

    I think with the Editor component introduced in #62274 and expanded into the post editor in #62339 we can consider this project complete. There are some small things that we can still improve/unify but the biggest part is done. Both post and site editor are using the same code and same UI for all post types.

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

    Needs DesignNeeds design efforts.[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Type] EnhancementA suggestion for improvement.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions