From 3408c9a87372256277554005fddb90f3e007fd58 Mon Sep 17 00:00:00 2001 From: Jonas Date: Thu, 23 Apr 2026 15:55:47 +0200 Subject: [PATCH 1/2] fix(comments): use message source when updating a message Signed-off-by: Jonas --- src/components/card/CommentItem.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/card/CommentItem.vue b/src/components/card/CommentItem.vue index 86c990c319..eaca58edbb 100644 --- a/src/components/card/CommentItem.vue +++ b/src/components/card/CommentItem.vue @@ -183,9 +183,7 @@ export default { }, showUpdateForm() { this.edit = true - this.$nextTick(() => { - this.commentMsg = this.$refs.richTextElement.children[0].innerHTML - }) + this.commentMsg = this.comment.message }, hideUpdateForm() { this.commentMsg = '' From e3ce6f80d1efa3cde960f0fa7ed5926edffc9a80 Mon Sep 17 00:00:00 2001 From: Jonas Date: Thu, 23 Apr 2026 16:19:42 +0200 Subject: [PATCH 2/2] fix(comment): bring back submit button to text field fix(comment): bring back submit button to text field Signed-off-by: Jonas [skip ci] --- src/components/card/CommentForm.vue | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/components/card/CommentForm.vue b/src/components/card/CommentForm.vue index 5b6837b9e4..361c5c73fa 100644 --- a/src/components/card/CommentForm.vue +++ b/src/components/card/CommentForm.vue @@ -77,6 +77,9 @@ export default { members() { return this.currentBoard.users }, + hasContent() { + return this.commentText.trim().length > 0 + }, }, watch: { value(val) { @@ -196,4 +199,20 @@ export default { .atwho-li--avatar { margin-right: 10px; } + + .comment-form { + position: relative; + + .comment-form__submit { + position: absolute; + bottom: var(--default-grid-baseline); + inset-inline-end: var(--default-grid-baseline); + z-index: 1; + } + + // Add padding to prevent text from going under the button + :deep(.rich-content-editor__input) { + padding-inline-end: calc(var(--default-clickable-area) + var(--default-grid-baseline)); + } + }