Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

chore: change comment box placeholder (#5042)

Aaryan Khandelwal2b570da890d9
diff --git a/web/core/components/editor/lite-text-editor/lite-text-editor.tsx b/web/core/components/editor/lite-text-editor/lite-text-editor.tsx
index f1f84fbf94..447f4f309e 100644
--- a/web/core/components/editor/lite-text-editor/lite-text-editor.tsx
+++ b/web/core/components/editor/lite-text-editor/lite-text-editor.tsx
@@ -39,6 +39,7 @@ export const LiteTextEditor = React.forwardRef<EditorRefApi, LiteTextEditorWrapp
showAccessSpecifier = false,
showSubmitButton = true,
isSubmitting = false,
+ placeholder = "Add comment...",
...rest
} = props;
// store hooks
@@ -81,8 +82,9 @@ export const LiteTextEditor = React.forwardRef<EditorRefApi, LiteTextEditorWrapp
highlights: mentionHighlights,
suggestions: mentionSuggestions,
}}
- {...rest}
+ placeholder={placeholder}
containerClassName={cn(containerClassName, "relative")}
+ {...rest}
/>
<IssueCommentToolbar
accessSpecifier={accessSpecifier}