1
0
Fork 1
mirror of https://example.com synced 2024-11-23 08:16:40 +09:00

force advanced MFM in posting form preview

This commit is contained in:
Freeplay 2023-06-10 19:34:20 -04:00
parent f5945269bf
commit fbc67ca745
2 changed files with 8 additions and 2 deletions

View file

@ -7,7 +7,12 @@
</div>
<div class="body">
<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>

View file

@ -9,7 +9,7 @@
class="mfm-object"
:class="{
nowrap,
advancedMfm: defaultStore.state.advancedMfm,
advancedMfm: defaultStore.state.advancedMfm || advancedMfm,
}"
/>
</template>
@ -27,6 +27,7 @@ const props = withDefaults(
author?: any;
customEmojis?: any;
isNote?: boolean;
advancedMfm: boolean;
}>(),
{
plain: false,