Merge pull request #54685 from nextcloud/feat/comments/markdown-support

feat(comments): add Markdown support
This commit is contained in:
Andy Scherzinger 2025-11-28 15:42:39 +01:00 committed by GitHub
commit 8cd86fb6a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 18 additions and 11 deletions

View file

@ -103,6 +103,7 @@
:class="{ 'comment__message--expanded': expanded }"
:text="richContent.message"
:arguments="richContent.mentions"
use-markdown
@click.native="onExpand" />
</div>
</component>
@ -376,13 +377,19 @@ $comment-padding: 10px;
&__message {
white-space: pre-wrap;
word-break: normal;
max-height: 70px;
overflow: hidden;
max-height: 200px;
overflow: auto;
scrollbar-gutter: stable;
scrollbar-width: thin;
margin-top: -6px;
&--expanded {
max-height: none;
overflow: visible;
}
:deep(img) {
max-width: 100%;
height: auto;
}
}
}

4
dist/4743-4743.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long