Improve announcement
* お知らせにMFMを使えるように * お知らせに画像を添付できるように
This commit is contained in:
parent
d73e52ac2a
commit
64d00b08a3
6 changed files with 17 additions and 5 deletions
|
|
@ -44,7 +44,8 @@
|
|||
<div v-if="announcements && announcements.length > 0">
|
||||
<div v-for="announcement in announcements">
|
||||
<h1 v-html="announcement.title"></h1>
|
||||
<div v-html="announcement.text"></div>
|
||||
<mfm :text="announcement.text"/>
|
||||
<img v-if="announcement.image" :src="announcement.image" alt="" style="display: block; max-height: 130px; max-width: 100%;"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue