diff --git a/frontend_nuxt/components/CommentEditor.vue b/frontend_nuxt/components/CommentEditor.vue index b613a72d5..3a8408f85 100644 --- a/frontend_nuxt/components/CommentEditor.vue +++ b/frontend_nuxt/components/CommentEditor.vue @@ -8,7 +8,7 @@
@@ -31,6 +31,7 @@ import { } from '~/utils/vditor' import '~/assets/global.css' import LoginOverlay from '~/components/LoginOverlay.vue' +import { useIsMobile } from '~/utils/screen' export default { name: 'CommentEditor', @@ -171,7 +172,7 @@ export default { }, ) - return { submit, isDisabled, editorId, isMac } + return { submit, isDisabled, editorId, isMac, isMobile} }, }