π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix: creation of new todo list item in comments (#5242)
Aaryan Khandelwal5d2983d02724
diff --git a/packages/editor/src/core/extensions/enter-key-extension.tsx b/packages/editor/src/core/extensions/enter-key-extension.tsxindex a01b58e59b..311ead4976 100644--- a/packages/editor/src/core/extensions/enter-key-extension.tsx+++ b/packages/editor/src/core/extensions/enter-key-extension.tsx@@ -17,6 +17,7 @@ export const EnterKeyExtension = (onEnterKeyPress?: (descriptionHTML: string) =>editor.commands.first(({ commands }) => [() => commands.newlineInCode(),() => commands.splitListItem("listItem"),+ () => commands.splitListItem("taskItem"),() => commands.createParagraphNear(),() => commands.liftEmptyBlock(),() => commands.splitBlock(),diff --git a/web/core/components/issues/issue-detail/issue-activity/comments/comment-create.tsx b/web/core/components/issues/issue-detail/issue-activity/comments/comment-create.tsxindex d4120e93fd..90df745b39 100644--- a/web/core/components/issues/issue-detail/issue-activity/comments/comment-create.tsx+++ b/web/core/components/issues/issue-detail/issue-activity/comments/comment-create.tsx@@ -66,7 +66,6 @@ export const IssueCommentCreate: FC<TIssueCommentCreate> = (props) => {projectId={projectId}workspaceSlug={workspaceSlug}onEnterKeyPress={(commentHTML) => {- console.log("commentHTML", commentHTML);const isEmpty =commentHTML?.trim() === "" ||commentHTML === "<p></p>" ||