2
0
Fork 0

allow MFM authoring

This commit is contained in:
FloatingGhost 2022-06-14 15:57:02 +01:00
commit ed42c476fb
14 changed files with 464 additions and 15 deletions

View file

@ -1,5 +1,6 @@
import fileType from 'src/services/file_type/file_type.service'
import RichContent from 'src/components/rich_content/rich_content.jsx'
import MFMContent from 'src/components/mfm_content/mfm_content.jsx'
import { mapGetters } from 'vuex'
import { library } from '@fortawesome/fontawesome-svg-core'
import {
@ -35,9 +36,11 @@ const StatusContent = {
'toggleShowingLongSubject'
],
data () {
const { renderMisskeyMarkdown } = this.$store.getters.mergedConfig
return {
postLength: this.status.text.length,
parseReadyDone: false
parseReadyDone: false,
renderMisskeyMarkdown
}
},
computed: {
@ -81,7 +84,8 @@ const StatusContent = {
...mapGetters(['mergedConfig'])
},
components: {
RichContent
RichContent,
MFMContent
},
mounted () {
this.status.attentions && this.status.attentions.forEach(attn => {