allow MFM authoring
This commit is contained in:
parent
8f1aaf617a
commit
ed42c476fb
14 changed files with 464 additions and 15 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue