fix(nc-gui): limited content render issue in richtext

This commit is contained in:
Ramesh Mane
2025-01-08 06:53:48 +00:00
parent 1644e714bf
commit 2c1d64a2b1
5 changed files with 132 additions and 28 deletions

View File

@@ -160,7 +160,7 @@ const richTextContent = computedAsync(async () => {
if (isRichMode.value && vModel.value) {
return Promise.resolve(
NcMarkdownParser.parse(
vModel.value,
unref(vModel.value),
{
enableMention: true,
users: unref(baseUsers.value),
@@ -422,7 +422,7 @@ watch(textAreaRef, (el) => {
:class="!isExpandedFormOpen ? `line-clamp-${rowHeightTruncateLines(localRowHeight, true)}` : undefined"
v-html="richTextContent"
></div>
<!-- <LazyCellRichText v-model:value="vModel" sync-value-change read-only show-limited-content /> -->
<!-- <LazyCellRichText v-model:value="vModel" sync-value-change read-only /> -->
</div>
<!-- eslint-disable vue/use-v-on-exact -->
<div