Skip to content

Commit

Permalink
fix: fix highlight invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
ygj6 committed Nov 1, 2021
1 parent 0a9c4b9 commit a4f467e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 336 deletions.
23 changes: 0 additions & 23 deletions src/dev/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
:language="d_language" @change="change" @save="saveone" :ishljs="true" class="item-editor" v-model="help1"
:autofocus="autofocus"
:shortCut="true"
:externalLink="external_link"
@imgAdd="$imgAdd" @imgDel="$imgDel" @subfieldtoggle="$subfieldtoggle" @previewtoggle="$previewtoggle"
:imageFilter="image_filter"
:boxShadow="true"
Expand Down Expand Up @@ -82,8 +81,6 @@
<script type="text/ecmascript-6">
// import {CONFIG} from './assets/config.js'
import {CONFIG} from '../lib/config.js'
import axios from 'axios'
import {mavonEditor} from '../index'
export default {
name: 'app',
data () {
Expand Down Expand Up @@ -114,26 +111,6 @@
editable: true,
toolbarsFlag: true,
img_file: {},
external_link: {
markdown_css: function() {
return '/markdown/github-markdown.min.css';
},
hljs_js: function() {
return '/highlightjs/highlight.min.js';
},
hljs_css: function(css) {
return '/highlightjs/styles/' + css + '.min.css';
},
hljs_lang: function(lang) {
return '/highlightjs/languages/' + lang + '.min.js';
},
katex_css: function() {
return '/katex/katex.min.css';
},
katex_js: function() {
return '/katex/katex.min.js';
}
},
toolbar_settings: {
undo: true, // 上一步
redo: true, // 下一步
Expand Down
157 changes: 0 additions & 157 deletions webpack/webpack.build.js.bak

This file was deleted.

156 changes: 0 additions & 156 deletions webpack/webpack.dev.js.bak

This file was deleted.

0 comments on commit a4f467e

Please sign in to comment.