13 lines
408 B
Vue
13 lines
408 B
Vue
<script setup lang="ts">
|
|
import { classes } from './support';
|
|
|
|
defineProps<{ data: Record<string, any>; style?: Record<string, string> }>();
|
|
</script>
|
|
|
|
<template>
|
|
<section :class="['mb-block mb-rich-text', classes(style)]">
|
|
<!-- `body_html` is made on the server from Markdown with raw HTML escaped -->
|
|
<div class="mb-inner mb-prose" v-html="data.body_html" />
|
|
</section>
|
|
</template>
|