forked from AkkomaGang/akkoma-fe
Compare commits
4 commits
favicon-in
...
develop
Author | SHA1 | Date | |
---|---|---|---|
251e440dad | |||
ffac376b5a | |||
721e3b016d | |||
469063ff52 |
4 changed files with 16 additions and 9 deletions
|
@ -130,11 +130,11 @@ export default {
|
||||||
codeblocks.forEach((pre) => {
|
codeblocks.forEach((pre) => {
|
||||||
content = content.replace(pre,
|
content = content.replace(pre,
|
||||||
pre.replaceAll('<br/>', '\n')
|
pre.replaceAll('<br/>', '\n')
|
||||||
.replaceAll('&', '&')
|
.replaceAll('&', '&')
|
||||||
.replaceAll('<', '<')
|
.replaceAll('<', '<')
|
||||||
.replaceAll('>', '>')
|
.replaceAll('>', '>')
|
||||||
.replaceAll('"', '"')
|
.replaceAll('"', '"')
|
||||||
.replaceAll(''', "'")
|
.replaceAll(''', "'")
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { filter, trim } from 'lodash'
|
import { filter, trim, debounce } from 'lodash'
|
||||||
import BooleanSetting from '../helpers/boolean_setting.vue'
|
import BooleanSetting from '../helpers/boolean_setting.vue'
|
||||||
import ChoiceSetting from '../helpers/choice_setting.vue'
|
import ChoiceSetting from '../helpers/choice_setting.vue'
|
||||||
import IntegerSetting from '../helpers/integer_setting.vue'
|
import IntegerSetting from '../helpers/integer_setting.vue'
|
||||||
|
@ -27,13 +27,13 @@ const FilteringTab = {
|
||||||
get () {
|
get () {
|
||||||
return this.muteWordsStringLocal
|
return this.muteWordsStringLocal
|
||||||
},
|
},
|
||||||
set (value) {
|
set: debounce(function (value) {
|
||||||
this.muteWordsStringLocal = value
|
this.muteWordsStringLocal = value
|
||||||
this.$store.dispatch('setOption', {
|
this.$store.dispatch('setOption', {
|
||||||
name: 'muteWords',
|
name: 'muteWords',
|
||||||
value: filter(value.split('\n'), (word) => trim(word).length > 0)
|
value: filter(value.split('\n'), (word) => trim(word).length > 0)
|
||||||
})
|
})
|
||||||
}
|
}, 500)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Updating nested properties
|
// Updating nested properties
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="StatusBody"
|
class="StatusBody"
|
||||||
:class="{ '-compact': compact }"
|
:class="{ '-compact': compact, 'mfm-disabled': !renderMisskeyMarkdown }"
|
||||||
>
|
>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -82,9 +82,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.mfm-disabled {
|
&.mfm-disabled {
|
||||||
|
span {
|
||||||
|
font-size: 100% !important;
|
||||||
|
}
|
||||||
.mfm {
|
.mfm {
|
||||||
animation: none !important;
|
animation: none !important;
|
||||||
}
|
}
|
||||||
|
.emoji {
|
||||||
|
width: 32px !important;
|
||||||
|
height: 32px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue