Post Comments Form block: limit context to site editor #45257
Labels
[Block] Post Comments Form
Affects the Comments Form Block
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
The Post Comments Form block already does not appear in the Widget editor contexts, but it does not fit well in the Post editor either.
When someone adds the block to a post and the theme already has a comments form, that creates a copy of the form with duplicate IDs. Then at least one of the copies would be difficult to use.
Additionally, Trac has a few tickets about how the styles break in Twenty Twenty and Twenty Twenty-One. Issue #28744 excluded comments-related blocks from 'classic' themes, yet they are available now.
If any users want to replace the form created by the theme template, using a child theme, they would still need to add this block to every individual post where comments are enabled. This highly demanding case probably should require a developer, who could customize the block's context for the site.
What is your proposed solution?
Please remove the Post Comments Form block from the post editor context.
The text was updated successfully, but these errors were encountered: