Skip to content

Commit 4cbdd5f

Browse files
author
ChaiMaoYuan
authored
remove highlight class
1 parent 17f28f4 commit 4cbdd5f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

markdown-editor.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ export default {
5353
5454
// 添加自定义 previewClass
5555
var _class = this.previewClass || ''
56-
if (configs.renderingConfig && configs.renderingConfig.codeSyntaxHighlighting) {
57-
_class += ' hljs'
58-
}
5956
this.addPreviewClass(_class)
6057
6158
// 绑定输入事件
@@ -89,10 +86,6 @@ export default {
8986
padding: 0.5em
9087
}
9188
92-
.markdown-editor .hljs {
93-
display: none
94-
}
95-
9689
.markdown-editor .editor-preview-active, .markdown-editor .editor-preview-active-side {
9790
display: block;
9891
}

0 commit comments

Comments
 (0)