fix: reference content rich component
parent
c475ed3857
commit
2f1c890623
|
@ -80,7 +80,7 @@ function getFieldNameIcon(fieldName: string) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="account.note">
|
<div v-if="account.note">
|
||||||
<ContentRich text-4 text-gray :content="account.note" :emojis="account.emojis" />
|
<ContentRichSetup text-4 text-gray :content="account.note" :emojis="account.emojis" />
|
||||||
</div>
|
</div>
|
||||||
<div flex flex-wrap gap-4>
|
<div flex flex-wrap gap-4>
|
||||||
<div v-for="field in fields" :key="field.name" flex="~ gap-1" items-center>
|
<div v-for="field in fields" :key="field.name" flex="~ gap-1" items-center>
|
||||||
|
@ -88,7 +88,7 @@ function getFieldNameIcon(fieldName: string) {
|
||||||
<div v-else op50 uppercase text-xs font-bold>
|
<div v-else op50 uppercase text-xs font-bold>
|
||||||
{{ field.name }} |
|
{{ field.name }} |
|
||||||
</div>
|
</div>
|
||||||
<ContentRich text-sm filter-saturate-0 :content="field.value" />
|
<ContentRichSetup text-sm filter-saturate-0 :content="field.value" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div flex gap-5>
|
<div flex gap-5>
|
||||||
|
|
|
@ -7,7 +7,7 @@ defineOptions({
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
content: string
|
content: string
|
||||||
emojis: Emoji[]
|
emojis?: Emoji[]
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const emojiObject = emojisArrayToObject(props.emojis || [])
|
const emojiObject = emojisArrayToObject(props.emojis || [])
|
||||||
|
|
Loading…
Reference in New Issue