Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion projects/plugins/jetpack/_inc/client/discussion/comments.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ class CommentsComponent extends Component {
gravatar = this.props.getModule( 'gravatar-hovercards' ),
markdown = this.props.getModule( 'markdown' ),
commentLikesUnavailable = isUnavailableInOfflineMode( 'comment-likes' ),
commentLikesActive = getOptionValue( 'comment-likes' );
commentLikesActive = getOptionValue( 'comment-likes' ),
hasCommentEditor =
this.props.hasBlockEditor &&
isCommentsActive &&
!! this.props.getOptionValue( 'enable_blocks_comments', 'comments' );

return (
<SettingsCard
Expand Down Expand Up @@ -181,6 +185,14 @@ class CommentsComponent extends Component {
{ __( 'Enable Markdown use for comments.', 'jetpack' ) }
</span>
}
help={
hasCommentEditor
? __(
'Comments written in the block editor use its toolbar for formatting instead.',
'jetpack'
)
: null
}
__nextHasNoMarginBottom={ true }
/>
</FormFieldset>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: enhancement

Discussion: Explain that comment Markdown doesn't apply to comments written in the block editor.
Loading