diff --git a/open-isle-cli/src/components/CommentItem.vue b/open-isle-cli/src/components/CommentItem.vue index d7ffc1d3a..7613d83ab 100644 --- a/open-isle-cli/src/components/CommentItem.vue +++ b/open-isle-cli/src/components/CommentItem.vue @@ -33,8 +33,7 @@
- - +
@@ -70,7 +69,6 @@ import { ref, watch, computed } from 'vue' import VueEasyLightbox from 'vue-easy-lightbox' import { useRouter } from 'vue-router' import CommentEditor from './CommentEditor.vue' -import SimpleCommentEditor from './SimpleCommentEditor.vue' import { renderMarkdown } from '../utils/markdown' import TimeManager from '../utils/time' import BaseTimeline from './BaseTimeline.vue' @@ -79,7 +77,6 @@ import { getToken, authState } from '../utils/auth' import ReactionsGroup from './ReactionsGroup.vue' import DropdownMenu from './DropdownMenu.vue' import LoginOverlay from './LoginOverlay.vue' -import { isMobile } from '../utils/screen' const CommentItem = { name: 'CommentItem', @@ -208,11 +205,11 @@ const CommentItem = { lightboxVisible.value = true } } - return { showReplies, toggleReplies, showEditor, toggleEditor, submitReply, copyCommentLink, renderMarkdown, isWaitingForReply, commentMenuItems, deleteComment, lightboxVisible, lightboxIndex, lightboxImgs, handleImageClick, loggedIn, isMobile } + return { showReplies, toggleReplies, showEditor, toggleEditor, submitReply, copyCommentLink, renderMarkdown, isWaitingForReply, commentMenuItems, deleteComment, lightboxVisible, lightboxIndex, lightboxImgs, handleImageClick, loggedIn } } } -CommentItem.components = { CommentItem, CommentEditor, SimpleCommentEditor, BaseTimeline, ReactionsGroup, DropdownMenu, VueEasyLightbox, LoginOverlay } +CommentItem.components = { CommentItem, CommentEditor, BaseTimeline, ReactionsGroup, DropdownMenu, VueEasyLightbox, LoginOverlay } export default CommentItem diff --git a/open-isle-cli/src/components/SimpleCommentEditor.vue b/open-isle-cli/src/components/SimpleCommentEditor.vue deleted file mode 100644 index ee3c75659..000000000 --- a/open-isle-cli/src/components/SimpleCommentEditor.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - diff --git a/open-isle-cli/src/views/PostPageView.vue b/open-isle-cli/src/views/PostPageView.vue index 8fbc774f7..c05aad622 100644 --- a/open-isle-cli/src/views/PostPageView.vue +++ b/open-isle-cli/src/views/PostPageView.vue @@ -63,9 +63,7 @@
- -
@@ -110,7 +108,6 @@ import VueEasyLightbox from 'vue-easy-lightbox' import { useRoute } from 'vue-router' import CommentItem from '../components/CommentItem.vue' import CommentEditor from '../components/CommentEditor.vue' -import SimpleCommentEditor from '../components/SimpleCommentEditor.vue' import BaseTimeline from '../components/BaseTimeline.vue' import ArticleTags from '../components/ArticleTags.vue' import ArticleCategory from '../components/ArticleCategory.vue' @@ -127,7 +124,7 @@ hatch.register() export default { name: 'PostPageView', - components: { CommentItem, CommentEditor, SimpleCommentEditor, BaseTimeline, ArticleTags, ArticleCategory, ReactionsGroup, DropdownMenu, VueEasyLightbox }, + components: { CommentItem, CommentEditor, BaseTimeline, ArticleTags, ArticleCategory, ReactionsGroup, DropdownMenu, VueEasyLightbox }, setup() { const route = useRoute() const postId = route.params.id