Description
Description
Expected
Footnotes content should be editable.
Happening
When a Footnotes block is added to a Sync Pattern, footnotes can't be edited anymore.
The footnotes can't be edited from the Post/Page content, as the Sync Pattern is stored in the content as :
<!-- wp:block {"ref":id} /-->
When editing the Sync Pattern itself (using "Edit original"), a message says that Footnotes are not supported :
Footnotes are not supported here. Add this block to post or page content.
Result : Users can edit the footnote content neither from the Post content, nor from the Pattern editor.
This issue occurred on a blank new WordPress with no plugin.
Step-by-step reproduction instructions
From the editor :
- Add a footnote to some content using the Footnotes block
- Add a Group
- Move the Footnotes block in the Group
- Turn the Group into a Sync Pattern (Group > Options > Create pattern)
- Try to edit the footnote
You now can't edit the footnote content from the Visual or Code editor.
Screenshots, screen recording, code snippet
wp-uneditable-footnotes.webm
Environment info
WordPress version : 6.5.2
Theme : Twenty Twenty-Four
Browser : Brave, Firefox
Device : Desktop
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Activity