html rendering, bug fixes
This commit is contained in:
parent
d5fd8b39e7
commit
0c6a58ea24
6 changed files with 26 additions and 11 deletions
|
|
@ -16,14 +16,8 @@ const Bubble =
|
|||
},
|
||||
|
||||
template: `
|
||||
<div :class="'bubble ' + modifier + '-bubble ' + modifier +'-'+ child">
|
||||
{{ text }}
|
||||
<div :class="'bubble ' + modifier + '-bubble ' + modifier +'-'+ child" v-html="text">
|
||||
</div> `
|
||||
};
|
||||
|
||||
export default Bubble;
|
||||
|
||||
|
||||
// <div v-show="!seen" class="bubble-notify"></div>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -76,3 +76,14 @@ const Messenger = {
|
|||
}
|
||||
|
||||
export default Messenger;
|
||||
|
||||
// {
|
||||
// modifier: "ai",
|
||||
// content: [
|
||||
// "This is test 2\r\n"
|
||||
// ],
|
||||
// context: "Email from adgundersen@gmail.com",
|
||||
// avatar: "./assets/mailAvatar.svg",
|
||||
// audio: null,
|
||||
// id: 0
|
||||
// }
|
||||
Loading…
Reference in a new issue