Skip to content

Discussion: Explain that comment Markdown skips the block editor - #54583

Closed
arcangelini wants to merge 4 commits into
trunkfrom
update/comments-skip-markdown
Closed

arcangelini wants to merge 4 commits into
trunkfrom
update/comments-skip-markdown

Conversation

@arcangelini

@arcangelini arcangelini commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Proposed changes

Settings › Discussion offers "Enable Markdown use for comments." next to Jetpack Comments, but Markdown never applies to comments written in the block editor. Markdown treats each block's HTML as raw HTML and leaves it alone, so *this* typed into an editor paragraph stays as typed either way. Comments that skip the editor, from the apps, the REST API or the no-JS form, still get Markdown.

  • When Jetpack Comments and blocks in comments are on, the Markdown toggle shows a help line: "Comments written in the block editor use its toolbar for formatting instead."
  • No behavior change. The toggle stays enabled because it still applies to comments from outside the editor.

Follow-up to #53538. That PR removes enable_blocks_comments, so whichever lands second drops that check from hasCommentEditor.

Related product discussion/links

Does this pull request change what data or activity we track or use?

No.

Testing instructions

  1. On a connected site, turn on the Markdown module, then turn on Jetpack Comments with blocks in comments on.
  2. Open Jetpack › Settings › Discussion. "Enable Markdown use for comments." shows the help line and can still be toggled.
  3. Turn off Jetpack Comments, or blocks in comments. The help line goes away.

Created with Claude Opus 5.5 in Claude Code.

@arcangelini
arcangelini requested a review from a team as a code owner November 5, 2026 17:58
@arcangelini arcangelini added Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Status] Needs Review This PR is ready for review. labels Nov 5, 2026
@arcangelini arcangelini self-assigned this Nov 5, 2026
@github-actions github-actions Bot added [Package] Comments [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Tests] Includes Tests Admin Page React-powered dashboard under the Jetpack menu labels Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack), and enable the update/comments-skip-markdown branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack update/comments-skip-markdown

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖


Follow this PR Review Process:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!


Jetpack plugin:

The Jetpack plugin has different release cadences depending on the platform:

  • WordPress.com Simple releases happen as soon as you deploy your changes after merging this PR (PCYsg-Jjm-p2).
  • WoA releases happen weekly.
  • Releases to self-hosted sites happen monthly:
    • Scheduled release: December 8, 2026
    • Code freeze: December 7, 2026

If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack.

@jp-launch-control

jp-launch-control Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Code Coverage Summary

Coverage changed in 1 file.

File Coverage Δ% Δ Uncovered
projects/plugins/jetpack/_inc/client/discussion/comments.jsx 0/25 (0.00%) 0.00% 1 ❤️‍🩹

Full summary · PHP report · JS report

@arcangelini arcangelini changed the title Comments: Turn off comment Markdown while the block editor is on Discussion: Explain that comment Markdown skips the block editor Nov 5, 2026
@arcangelini

Copy link
Copy Markdown
Member Author

Closing this. Testing showed Jetpack Markdown already leaves block editor comments alone. It treats each block's HTML as raw HTML, so nothing in the thread changes with or without this PR. The setting still applies to comments from outside the editor (apps, REST API, the no-JS form), so it should stay enabled. A help line on its own isn't worth the extra change right now.

@arcangelini arcangelini closed this Nov 5, 2026
@github-actions github-actions Bot removed the [Status] Needs Review This PR is ready for review. label Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Admin Page React-powered dashboard under the Jetpack menu Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Package] Comments [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Tests] Includes Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant