Chatwoot/app/javascript/dashboard/components/widgets/conversation/bubble/Text.vue
Nithin David Thomas a5c3c4301c
feat: Add support for markdown in messages (#1642)
Co-authored-by: Pranav <pranav@chatwoot.com>
2021-01-15 14:40:50 +05:30

24 lines
368 B
Vue

<template>
<div class="message-text__wrap">
<div class="text-content" v-html="message"></div>
</div>
</template>
<script>
export default {
props: {
message: {
type: String,
default: '',
},
readableTime: {
type: String,
default: '',
},
isEmail: {
type: Boolean,
default: true,
},
},
};
</script>