force advanced MFM in posting form preview
This commit is contained in:
parent
f5945269bf
commit
fbc67ca745
2 changed files with 8 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue