add emoji for mobile

This commit is contained in:
2024-01-25 12:57:10 +08:00
parent 273850632c
commit a6e8860de3
5 changed files with 119 additions and 10 deletions

View File

@@ -1,19 +1,17 @@
<script lang="ts" setup>
import { onUnmounted, computed } from "vue"
import { EditorView } from "@codemirror/view"
import { whenever } from "@vueuse/core"
import { useThemeVars } from "naive-ui"
import CodeEditor from "../components/CodeEditor.vue"
import ThemeButton from "../components/ThemeButton.vue"
import SelectLanguage from "../components/SelectLanguage.vue"
import Helper from "./Helper.vue"
import { code, input, output, size, status } from "../composables/code"
import { Status } from "../types"
import { tab } from "../composables/tab"
import { Tab } from "../types"
import ThemeButton from "../components/ThemeButton.vue"
import SelectLanguage from "../components/SelectLanguage.vue"
import Helper from "./Helper.vue"
import { useThemeVars } from "naive-ui"
import { computed } from "vue"
import { EditorView } from "@codemirror/view"
import { insertText } from "../composables/helper"
import { whenever } from "@vueuse/core"
import { onUnmounted } from "vue"
import { watch } from "vue"
let codeEditor: EditorView | null = null