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,