ADD: RichText
Added RichText system
This commit is contained in:
parent
311894d6d0
commit
b014d31577
9 changed files with 250 additions and 95 deletions
12
app/components/RichText/Link.vue
Normal file
12
app/components/RichText/Link.vue
Normal file
|
@ -0,0 +1,12 @@
|
|||
<template>
|
||||
<a :href="href" :target="target" class="text inline-flex-row" :class="{ reverse : icon && icon.position === 'end' }">
|
||||
<Icon v-if="icon" :name="icon.name" mode="svg" />
|
||||
{{ content }}
|
||||
</a>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import type { RichTextLink } from './Types'
|
||||
|
||||
defineProps<RichTextLink>()
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue