mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #54685 from nextcloud/feat/comments/markdown-support
feat(comments): add Markdown support
This commit is contained in:
commit
8cd86fb6a0
7 changed files with 18 additions and 11 deletions
|
|
@ -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
4
dist/4743-4743.js
vendored
File diff suppressed because one or more lines are too long
2
dist/4743-4743.js.map
vendored
2
dist/4743-4743.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/comments-comments-app.js
vendored
4
dist/comments-comments-app.js
vendored
File diff suppressed because one or more lines are too long
2
dist/comments-comments-app.js.map
vendored
2
dist/comments-comments-app.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/comments-comments-tab.js
vendored
4
dist/comments-comments-tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/comments-comments-tab.js.map
vendored
2
dist/comments-comments-tab.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue