From e8ad65dc8a09082a79c4b0683f9724de39c9bddb Mon Sep 17 00:00:00 2001 From: mattyatea Date: Sat, 30 Dec 2023 08:44:46 +0900 Subject: [PATCH] bug fix --- packages/frontend/src/components/MkPostForm.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 52bf5f7852..a140722ab3 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -137,6 +137,8 @@ import { miLocalStorage } from '@/local-storage.js'; import { claimAchievement } from '@/scripts/achievements.js'; import { emojiPicker } from '@/scripts/emoji-picker.js'; import { mfmFunctionPicker } from '@/scripts/mfm-function-picker.js'; +import MkScheduleEditor from '@/components/MkScheduleEditor.vue'; +import { listSchedulePost } from '@/os.js'; const modal = inject('modal'); let gamingType = computed(defaultStore.makeGetterSetter('gamingType')); @@ -406,7 +408,9 @@ function addMissingMention() { } } } - +function insertRuby() { + insertTextAtCursor(textareaEl.value, '$[ruby 本文 上につくやつ]'); +} function togglePoll() { if (poll.value) { poll.value = null;