diff --git a/packages/client/src/components/MkNotePreview.vue b/packages/client/src/components/MkNotePreview.vue index b8cc70ec9..6fdd79dc6 100644 --- a/packages/client/src/components/MkNotePreview.vue +++ b/packages/client/src/components/MkNotePreview.vue @@ -6,7 +6,7 @@
-
+
diff --git a/packages/client/src/components/MkSubNoteContent.vue b/packages/client/src/components/MkSubNoteContent.vue index 5dc443c49..0f2941e08 100644 --- a/packages/client/src/components/MkSubNoteContent.vue +++ b/packages/client/src/components/MkSubNoteContent.vue @@ -42,8 +42,7 @@ isLong, manyImages: note.files.length > 4, showContent: note.cw && !showContent, - animatedMfm: !disableMfm, - advancedMfm, + animatedMfm: !disableMfm }" > 0); let disableMfm = $ref(defaultStore.state.animatedMfm); -const advancedMfm = defaultStore.state.advancedMfm; - async function toggleMfm() { if (disableMfm) { if (!defaultStore.state.animatedMfmWarnShown) { diff --git a/packages/client/src/components/global/MkMisskeyFlavoredMarkdown.vue b/packages/client/src/components/global/MkMisskeyFlavoredMarkdown.vue index ef09e8606..5c366418d 100644 --- a/packages/client/src/components/global/MkMisskeyFlavoredMarkdown.vue +++ b/packages/client/src/components/global/MkMisskeyFlavoredMarkdown.vue @@ -7,13 +7,17 @@ :customEmojis="customEmojis" :isNote="isNote" class="mfm-object" - :class="{ nowrap }" + :class="{ + nowrap, + advancedMfm: defaultStore.state.advancedMfm + }" />