Skip to content

Consolidate QuickEdit and Editor Inspector #76076

Closed

Description

@oandregal

Part of #81228

What

In WordPress 7.0, we landed a new QuickEdit experience in the site editor built with DataForm. We want the QuickEdit and the editor inspector to be the same experience — visually and behaviourally.

Why

The rationale for this change is twofold: we want to offer a cohesive experience to users, and we also aim to expose developer hooks that works across the screens — to control field visibility (#75529), to add fields, etc.

Pages: QuickEdit vs. Editor Inspector

Quick Edit (SiteEditor Pages) Editor Inspector (Pages)
Image Image

Across post types:

Pages Posts Patterns Template parts Templates
Image Image Image Image Image

How

We've enabled an experiment (Gutenberg > Experiment > DataForm in Editor Inspector) that replaces the existing editor inspector with a DataForm-based one for post and page types.

Inspector (experimental)

Notes about needed e2e changes when the experiment is stabilized:

Tasklist

Enabling the experiment makes the classic sidebar tests fail on exactly these, so the graduation PR needs to do the following.

Mirrors that replace a whole classic spec (delete the classic file, move the one from editor/various/post-summary-dataform/ in its place):

  • editor/various/datepicker.spec.js (the classic "Immediately" tests go away, the summary date row always renders a concrete date)
  • editor/various/scheduling.spec.js
  • editor/various/post-visibility.spec.js
  • editor/various/switch-to-draft.spec.js
  • editor/various/sidebar-permalink.spec.js
  • editor/various/post-editor-template-mode.spec.js

Mirrors that replace some tests of a mixed tests and move the mirrored ones into theclassic file):

  • `editor/plugins/custom-post-types.spec.jste an hierarchical post without titlesupport'
  • editor/plugins/plugins-api.spec.js: 'Po
  • editor/various/sidebar.spec.js: 'should be possible to programmatically remove Document Settings panels'
  • editor/various/template-resolution.spec.sts setting' tests
  • site-editor/pages.spec.js: 'swap template and reset to default' and 'change template options should respect
    the declared postTypes'
  • site-editor/template-registration.spec.js: 'registered templates are available in the Change template screen'
    and 'themes can override registered templat

Net new:

  • Move post-summary.spec.js up to editor/various/ as is (no classic counterpart).
  • Drop the experiment enabling from utils.PostSummary and EDITOR_CONTEXTS shouldlive.

Classic specs that only use the old sidebar as setup (fix the setup lines, the tests stay):

  • editor/various/post-content-focus-mode.srious/patterns.spec.js (~1351),editor/blocks/navigation-passive-rendering.spec.js (~20) and the writing prompt test in
    site-editor/pages.spec.js (~280): 'Template' is now only in the top bar 'View'dropdown. The skipped 'create a new page, edit template and toggle page template preview' test in pages uses the
    same menu too.
  • editor/various/preview.spec.js (~242) and editor/various/change-detection.spec.js (~81): 'Change status:' >
    the 'Edit Status' popover with the 'Status'
  • editor/plugins/meta-boxes.spec.js (~138): 'Add an excerpt…' > 'Edit Excerpt'.
  • editor/various/footnotes.spec.js (~371)st-revision__button` is classic only, thesummary has the 'Open revisions screen: N revisions' button.
  • site-editor/template-revert.spec.js: ths in the settings region need a check.
  • editor/various/revisions.spec.js needs nothing, its locator already matches the summary row.

Before opening the PR:

  • Run the whole classic suite with the expe already found tests the first inventory hadmissed, so I wouldn't trust the list above without it.
  • Remove the flag: the entry in lib/experip, the preload require in lib/load.php,the inline script in lib/experimental/editor-settings.php and the window.__experimentalDataFormInspector
    checks in edit-post/src/index.jsx, editondex.jsx andeditor/src/components/post-template/hooks.js.

Not mirrored on purpose: the datepicker "Immediately" tests (no floating date state in the summary, design pending) and the validation coverage (the sity` to DataForm yet).

Fields

Misc

  • Revisions
  • Design tweaks (validate or update design)
    • Excerpt field. First iteration landed here. PR with design tweaks. Excerpt field shouldn't render add an excerpt when empty. It should render nothing like the description field, but it still requires design feedback for the case of empty excerpt (that would show nothing besides the edit/pencil button on hover.
    • Revisions panel. First iteration landed here. Field created here
    • Fix status field (auto-draft). See this comment. PR

Extensibility

Extensibility should be based on extending the entities (fields, actions) and not in the existing slots.

Backwards compatibility

When we have the extensibility APIs (e.g. for fields and actions) we should deprecate the PluginPostStatusInfo and provide directions with good documentation about migration paths and probably a long bake.

Migrating actions, informational UI (notices etc..) and fields will be straightforward and there will be parity for them because we also render the previous fills. The main 'breakage' would be for any extenders which do various stuff by injecting HTML and targeting existing dom nodes and css classnames. In these cases there will be no parity if the extenders don't migrate to the new APIs.

An example I noticed recently is the canonical AI plugin which injects HTML in the excerpt field:

Image

Feedback

Activity

  1. added
    [Type] Enhancement
    on Mar 3, 2026
  2. changed the title [-]Post editor inspector: use DataForm[/-] [+]Editor inspector: use DataForm[/+] on Mar 3, 2026
  3. added
    [Feature] DataViews
    Needs Design Feedback
    on Mar 3, 2026
  4. hanneslsm commented on Mar 3, 2026

    @hanneslsm
  5. oandregal commented on Mar 3, 2026

    @oandregal
    MemberAuthor

    @jasmussen @jameskoster @fcoveram I've created a couple of sub-issues to address specific things that need fixing. Feel welcome to update this issue yourselves.

  6. jasmussen commented on Mar 4, 2026

    @jasmussen
    Contributor

    Nice, thank you. The motivation is to unify on a single interface that is accesible in-editor, and outside. There's no reason to have separate implementations for these, so this is a good iteration to explore.

  7. jameskoster commented on Mar 4, 2026

    @jameskoster
    Contributor

    Maybe this warrants a separate issue but I think we should also explore using the regular layout for some of these fields. The current UX for modifying certain values (Author is a good example) is not good imo.

  8. oandregal commented on Mar 5, 2026

    @oandregal
    MemberAuthor

    Feel free to update this one with whatever is missing (renaming/reordering fields, change its layout, etc.)

  9. oandregal commented on Mar 5, 2026

    @oandregal
    MemberAuthor

    Added #76194 to the list of issues.

  10. changed the title [-]Editor inspector: use DataForm[/-] [+]Consolidate QuickEdit and Editor Inspector[/+] on Mar 5, 2026
  11. 82 remaining items

  12. oandregal commented on Nov 5, 2026

    @oandregal
    MemberAuthor

    I've also got #86298 that fixes an bug in both the new and old inspector.

  13. oandregal commented on Nov 5, 2026

    @oandregal
    MemberAuthor

    #86359 by Aki fixes non-latin slugs (sharing for tracking ongoing work).

  14. oandregal commented on Nov 5, 2026

    @oandregal
    MemberAuthor

    #86389 tightens the density of DataForm and fields (line-height and icon-text).

  15. oandregal commented on Nov 5, 2026

    @oandregal
    MemberAuthor

    #86395 tweaks for author field by Jorge.

  16. oandregal commented on Nov 5, 2026

    @oandregal
    MemberAuthor

    #86391 tweaks for placeholder values by Jorge.

  17. t-hamano commented on Nov 10, 2026

    @t-hamano
    Contributor

    This might be slightly off-topic, but some research with AI suggests that a few APIs behave differently now that the post sidebar is based on DataForm. It may be worth mentioning this change in a dev note.

    • __experimentalPluginPostExcerpt component: It has been deprecated since 6.6, but since PostExcerptPanel, which renders its Slot, is no longer rendered in the post sidebar, using this API now renders nothing.
    • editor.PostFeaturedImage.imageSize filter: Since PostFeaturedImage is no longer used in the post sidebar, this filter no longer has any effect there. This documentation might need to be removed or updated.
  18. oandregal commented on Nov 10, 2026

    @oandregal
    MemberAuthor

    but some research with AI suggests that a few APIs behave differently now that the post sidebar is based on DataForm

    Yeah, that's a good point. I believe @ntsekouras will be commenting on these details on the devnote (and updating any relevant docs). The call for testing covered those you mention and others.

  19. ntsekouras commented on Nov 11, 2026

    @ntsekouras
    Contributor

    editor.PostFeaturedImage.imageSize filter: Since PostFeaturedImage is no longer used in the post sidebar, this filter no longer has any effect there.

    Thanks Aki! I opened a PR to bring it back in the post editor, so we don't break plugins that use it.

    The __experimentalPluginPostExcerpt slot is deprecated since 6.6, so I'll mention it in the dev note.

  20. oandregal commented on Nov 20, 2026

    @oandregal
    MemberAuthor

    We're merged #85679 to address an issue with the parent field being displayed on non-hierarchical posts.

  21. oandregal commented on Nov 20, 2026

    @oandregal
    MemberAuthor

    I'm going to consider this issue closed, as we've addressed everything that came up and the feature is going to be part of WordPress 7.2. Thanks everyone for the help and the push to get this ready!

  22. moved this from 🏗️ In Progress to ✅ Done in WordPress 7.2 Editor Taskson Nov 20, 2026
  23. removed
    [Status] In Progress
    on Nov 20, 2026
  24. oandregal commented on Nov 24, 2026

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

Metadata

Metadata

Labels

[Feature] DataViews[Type] Enhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions