[wp-trac] [WordPress Trac] #56652: New Template Part block content isn't saved when saving a post draft in 6.1
WordPress Trac
noreply at wordpress.org
Sun Sep 25 18:42:35 UTC 2022
#56652: New Template Part block content isn't saved when saving a post draft in 6.1
--------------------------+-----------------------------
Reporter: ashleyleia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When adding a new "Template Part" block to a post in the block editor, any
content that's added to that block isn't saved when the user saves a draft
of the post; it only saves if a user clicks Publish. After saving a draft
and refreshing the screen, the content is replaced with an empty Template
Part block that can't be edited.
Steps to reproduce:
1) Create a new post.
2) Add a "Template Part" block.
3) Select "Start blank", and give the template a name.
4) Within the template block, create a paragraph block and add some text.
5) Save the post draft.
6) Refresh the page. An alert will pop up confirming you want to leave the
page with unsaved changes. After the page refreshes, there's an un-
editable empty template block as in the attached screenshot.
I'm using 6.1 Beta 1 with no active plugins on MacOS in both Chrome and
Safari. Tested with Twenty Twenty-Three, Twenty-Two, and Twenty-One.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56652>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list