Skip to content

Commit

Permalink
Site Editor: Merge the post only mode and the post editor (#56671)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored Dec 5, 2023
1 parent a5a4edf commit 338ae24
Show file tree
Hide file tree
Showing 19 changed files with 535 additions and 485 deletions.
12 changes: 12 additions & 0 deletions docs/reference-guides/data/data-core-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,18 @@ _Returns_

- `string`: Post type.

### getCurrentTemplateId

Returns the template ID currently being rendered/edited

_Parameters_

- _state_ `Object`: Global application state.

_Returns_

- `string?`: Template ID.

### getEditedPostAttribute

Returns a single attribute of the post being edited, preferring the unsaved edit if one exists, but falling back to the attribute for the last known saved state of the post.
Expand Down
Loading

1 comment on commit 338ae24

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 338ae24.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7097368602
📝 Reported issues:

Please sign in to comment.