Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Comments Form block: limit context to site editor #45257

Open
sabernhardt opened this issue Oct 24, 2022 · 0 comments
Open

Post Comments Form block: limit context to site editor #45257

sabernhardt opened this issue Oct 24, 2022 · 0 comments
Labels
[Block] Post Comments Form Affects the Comments Form Block [Type] Enhancement A suggestion for improvement.

Comments

@sabernhardt
Copy link
Contributor

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.

@Mamaduka Mamaduka added [Type] Enhancement A suggestion for improvement. [Block] Post Comments Form Affects the Comments Form Block labels Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Comments Form Affects the Comments Form Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants