Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions src/components/TinyMCEEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
relative_urls: false,
default_link_target: '_blank',
target_list: false,
placeholder: props.placeholder,

Check failure on line 155 in src/components/TinyMCEEditor.jsx

View workflow job for this annotation

GitHub Actions / tests

'placeholder' is missing in props validation
images_upload_handler: uploadHandler,
setup,
}}
Expand Down
1 change: 1 addition & 0 deletions src/discussions/posts/post-editor/PostEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@
value={values.comment}
onEditorChange={formikCompatibleHandler(handleChange, 'comment')}
onBlur={formikCompatibleHandler(handleBlur, 'comment')}
placeholder={'Post content*'}

Check failure on line 412 in src/discussions/posts/post-editor/PostEditor.jsx

View workflow job for this annotation

GitHub Actions / tests

Curly braces are unnecessary here
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be translated

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

/>
<PostHelpPanel />
<FormikErrorFeedback name="comment" />
Expand Down
2 changes: 1 addition & 1 deletion src/discussions/posts/post-editor/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const messages = defineMessages({
},
postTitle: {
id: 'discussions.post.editor.title',
defaultMessage: 'Post title',
defaultMessage: 'Post title*',
},
titleDescription: {
id: 'discussions.post.editor.titleDescription',
Expand Down
Loading