force advanced MFM in posting form preview
This commit is contained in:
parent
f5945269bf
commit
fbc67ca745
|
@ -7,7 +7,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<Mfm :text="preprocess(text).trim()" :author="$i" :i="$i" />
|
<Mfm
|
||||||
|
:text="preprocess(text).trim()"
|
||||||
|
:author="$i"
|
||||||
|
:i="$i"
|
||||||
|
advancedMfm
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
class="mfm-object"
|
class="mfm-object"
|
||||||
:class="{
|
:class="{
|
||||||
nowrap,
|
nowrap,
|
||||||
advancedMfm: defaultStore.state.advancedMfm,
|
advancedMfm: defaultStore.state.advancedMfm || advancedMfm,
|
||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
@ -27,6 +27,7 @@ const props = withDefaults(
|
||||||
author?: any;
|
author?: any;
|
||||||
customEmojis?: any;
|
customEmojis?: any;
|
||||||
isNote?: boolean;
|
isNote?: boolean;
|
||||||
|
advancedMfm: boolean;
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
plain: false,
|
plain: false,
|
||||||
|
|
Loading…
Reference in New Issue