diff --git a/packages/editor/lite-text-editor/src/ui/index.tsx b/packages/editor/lite-text-editor/src/ui/index.tsx
index fe9453110..6b22809d6 100644
--- a/packages/editor/lite-text-editor/src/ui/index.tsx
+++ b/packages/editor/lite-text-editor/src/ui/index.tsx
@@ -33,6 +33,7 @@ export interface ILiteTextEditor {
};
tabIndex?: number;
placeholder?: string | ((isFocused: boolean, value: string) => string);
+ id?: string;
}
const LiteTextEditor = (props: ILiteTextEditor) => {
@@ -48,12 +49,14 @@ const LiteTextEditor = (props: ILiteTextEditor) => {
tabIndex,
mentionHandler,
placeholder = "Add comment...",
+ id = "",
} = props;
const editor = useEditor({
onChange,
initialValue,
value,
+ id,
editorClassName,
restoreFile: fileHandler.restore,
uploadFile: fileHandler.upload,
diff --git a/web/components/issues/issue-detail/issue-activity/comments/comment-create.tsx b/web/components/issues/issue-detail/issue-activity/comments/comment-create.tsx
index 0263a37e1..ae6e75c79 100644
--- a/web/components/issues/issue-detail/issue-activity/comments/comment-create.tsx
+++ b/web/components/issues/issue-detail/issue-activity/comments/comment-create.tsx
@@ -18,10 +18,11 @@ type TIssueCommentCreate = {
workspaceSlug: string;
activityOperations: TActivityOperations;
showAccessSpecifier?: boolean;
+ issueId: string;
};
export const IssueCommentCreate: FC