Opened 12 months ago
Closed 12 months ago
#59397 closed defect (bug) (reported-upstream)
Footnotes not saved if the Custom Fields panel is open
Reported by: | GregLone | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | has-testing-info |
Focuses: | Cc: |
Description
How to reproduce:
- Create a post with title and some content.
- Add a footnotes block: add 1 or 2 footnotes to your content.
- Save your post.
- While still in your block editor, go to Options (top right of the screen), Preferences (very bottom of the menu), Panels, enable "Custom fields", click "Show & Reload Page".
- Now the "Custom fields" panel is displaying your post's metas.
- Note that the meta storing the footnotes' content is named
footnotes
, without the_
prefix, so it is a public meta. Its value is a JSON string. - Edit your post content by adding another footnote and save your post.
- Reload the page:
- The anchor in the post content is still there.
- The new footnote has disappeared from the footnotes block.
- The post meta in the "Custom fields" panel doesn't contain the new footnote either.
I haven't investigated but I guess this issue could be solved by making the post meta private, so it isn't displayed in the "Custom fields" panel.
Change History (5)
This ticket was mentioned in Slack in #core-test by ironprogrammer. View the logs.
12 months ago
#3
@
12 months ago
- Keywords has-testing-info added; needs-patch removed
Thank you for the report @GregLone! This issue may need to be addressed upstream in Gutenberg, so would you please report it in Gutenberg Issues? (I've removed needs-patch
assuming this will be addressed in GB.)
You can copy contents of your report into the issue there. Please refer to this Trac ticket, and note that it was reproduced during Test triage.
Once the GB ticket has been created, please drop a note (and link) here and we can resolve this with reported-upstream
. Thank you!
#4
@
12 months ago
Thanks for the instructions.
[Gutenberg ticket](https://github.com/WordPress/gutenberg/issues/54653) open.
Reproduction Report
This report validates that the issue can be reproduced as described.
Environment
Actual Results