mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-27 00:20:48 +08:00
feat: 评论区支持高度调整
This commit is contained in:
@@ -26,7 +26,6 @@ import {
|
||||
getPreviewTheme as getPreviewThemeUtil
|
||||
} from '../utils/vditor'
|
||||
import LoginOverlay from './LoginOverlay.vue'
|
||||
import { isMobile } from '../utils/screen'
|
||||
|
||||
export default {
|
||||
name: 'CommentEditor',
|
||||
@@ -74,7 +73,6 @@ export default {
|
||||
onMounted(() => {
|
||||
vditorInstance.value = createVditor(props.editorId, {
|
||||
placeholder: '说点什么...',
|
||||
height: isMobile.value ? 'auto' : 200,
|
||||
preview: {
|
||||
actions: [],
|
||||
markdown: { toc: false }
|
||||
|
||||
Reference in New Issue
Block a user